Skip to content

Commit

Permalink
test: correct class constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
kilatib committed Jun 7, 2024
1 parent 9daa4cf commit f31894d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function testAssociations(): void

public function testExtraDataCouldBeProvidedToConstrain(): void
{
$responseValidityConstraint = new ResponseValidityConstraint('RESPONSE', 0, 0, ['qtiClassName' => 'test']);
$responseValidityConstraint = new ResponseValidityConstraint('RESPONSE', 0, 0, 'patternMask', ['qtiClassName' => 'test']);
$extraData = $responseValidityConstraint->getExtraData();
$this->assertNotEmpty($extraData);
$this::assertEquals('test', $extraData['qtiClassName']);
Expand Down

0 comments on commit f31894d

Please sign in to comment.