Skip to content

Commit

Permalink
feat: update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomiejmarszal committed Jul 1, 2024
1 parent 420f332 commit 6bc47c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/qtismtest/data/AssessmentItemTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -768,9 +768,9 @@ public function getResponseValidityConstraintsProvider(): array
public function testCreateAssessmentItemWrongIdentifier(): void
{
$this->expectException(InvalidArgumentException::class);
$this->expectExceptionMessage("The identifier argument must be a valid QTI Identifier, '999' given.");
$this->expectExceptionMessage("The identifier argument must be a valid QTI Identifier, '99\t9' given.");

$assessmentItem = new AssessmentItem('999', 'Nine Nine Nine', false);
$assessmentItem = new AssessmentItem("99\t9", 'Nine Nine Nine', false);
}

public function testCreateAssessmentItemWrongTitle(): void
Expand Down

0 comments on commit 6bc47c3

Please sign in to comment.