1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[ticket/11103] Use scope: prototype

This lets us clean up the mess that was in load_object(), but requires
scope: prototype to be added to the service definitions for all types
or methods!

PHPBB3-11103
This commit is contained in:
Nathan Guse
2012-12-09 13:43:06 -06:00
parent 357a4facf6
commit 84284a9cce
3 changed files with 19 additions and 20 deletions

View File

@@ -37,7 +37,7 @@ class phpbb_notification_test extends phpbb_database_test_case
'allow_forum_notify' => true,
));
$this->user = new phpbb_mock_user();
$this->user_loader = new phpbb_user_loader($this->db, 'phpbb_users');
$this->user_loader = new phpbb_user_loader($this->db, $phpbb_root_path, $phpEx, 'phpbb_users');
$this->auth = new phpbb_mock_notifications_auth();
$this->cache = new phpbb_mock_cache();