Skip to content

Commit

Permalink
fix assert
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Dec 30, 2024
1 parent 9e698a6 commit e907809
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/system/CommonHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,14 @@ public function testNamespacedHelperFound(): void

Services::injectMock('locator', $locator);

helper('Tests\Support\Helpers\baguette');
$found = true;

try {
helper('Tests\Support\Helpers\baguette');
} catch (FileNotFoundException) {
$found = false;
}

$this->assertTrue($found);
}
}

0 comments on commit e907809

Please sign in to comment.