We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e698a6 commit e907809Copy full SHA for e907809
1 file changed
tests/system/CommonHelperTest.php
@@ -169,6 +169,14 @@ public function testNamespacedHelperFound(): void
169
170
Services::injectMock('locator', $locator);
171
172
- helper('Tests\Support\Helpers\baguette');
+ $found = true;
173
+
174
+ try {
175
+ helper('Tests\Support\Helpers\baguette');
176
+ } catch (FileNotFoundException) {
177
+ $found = false;
178
+ }
179
180
+ $this->assertTrue($found);
181
}
182
0 commit comments