Skip to content

Commit 7c6a017

Browse files
committed
test: add 'auth' and 'setting' helper loading
1 parent b7d591a commit 7c6a017

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/_support/TestCase.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ protected function setUp(): void
2626
$settings = new Settings($configSettings);
2727
Services::injectMock('settings', $settings);
2828

29+
// Load helpers that should be autoloaded
30+
helper(['auth', 'setting']);
31+
2932
// Ensure from email is available anywhere during Tests
3033
helper('setting');
3134
setting('Email.fromEmail', 'foo@example.com');

0 commit comments

Comments
 (0)