Skip to content

Commit

Permalink
test: testUnloadAll should perform at least one assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
xel1045 committed Mar 26, 2024
1 parent fce38cb commit bfe8f63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Unit/TranslatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ private function tryCatchUndefinedIndex(string $locale, string $namespace): void
{
try {
$this->translator->getAllVariables($locale, $namespace);
$this->assertTrue(true);
} catch (Exception $exception) {
$this->assertStringContainsString($namespace, $exception->getMessage());
$this->assertStringContainsString('Undefined', $exception->getMessage());
Expand Down

0 comments on commit bfe8f63

Please sign in to comment.