Skip to content

Commit

Permalink
Fix tests for recently changed translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Kovah committed Oct 17, 2024
1 parent 6d1c6f0 commit 1f28fd0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/Components/History/LinkEntryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function testModelDeletion(): void
$historyEntries = $link->audits()->get();

$output = (new LinkEntry($historyEntries[0]))->render();
$this->assertStringContainsString('Link was deleted', $output);
$this->assertStringContainsString('Link was moved to the trash', $output);

$output = (new LinkEntry($historyEntries[1]))->render();
$this->assertStringContainsString('Link was restored', $output);
Expand Down
2 changes: 1 addition & 1 deletion tests/Components/History/ListEntryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function testModelDeletion(): void
$historyEntries = $list->audits()->get();

$output = (new ListEntry($historyEntries[0]))->render();
$this->assertStringContainsString('List was deleted', $output);
$this->assertStringContainsString('List was moved to the trash', $output);

$output = (new ListEntry($historyEntries[1]))->render();
$this->assertStringContainsString('List was restored', $output);
Expand Down
2 changes: 1 addition & 1 deletion tests/Components/History/TagEntryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function testModelDeletion(): void
$historyEntries = $tag->audits()->get();

$output = (new TagEntry($historyEntries[0]))->render();
$this->assertStringContainsString('Tag was deleted', $output);
$this->assertStringContainsString('Tag was moved to the trash', $output);

$output = (new TagEntry($historyEntries[1]))->render();
$this->assertStringContainsString('Tag was restored', $output);
Expand Down

0 comments on commit 1f28fd0

Please sign in to comment.