1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/16649] Add compiler pass to tests

PHPBB3-16649
This commit is contained in:
rubencm
2020-12-09 02:28:09 +01:00
committed by rxu
parent 302632d240
commit 538ff83ccc
5 changed files with 18 additions and 3 deletions

View File

@@ -125,6 +125,9 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case
);
$phpbb_container->set('notification_manager', $this->notifications);
$phpbb_container->addCompilerPass(new phpbb\di\pass\markpublic_pass());
$phpbb_container->compile();
$this->notifications->setDependencies($this->auth, $this->config);