diff --git a/test/qtismtest/data/state/ResponseValidityConstraintTest.php b/test/qtismtest/data/state/ResponseValidityConstraintTest.php index 57183091b..4f23eae37 100644 --- a/test/qtismtest/data/state/ResponseValidityConstraintTest.php +++ b/test/qtismtest/data/state/ResponseValidityConstraintTest.php @@ -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']);