aboutsummaryrefslogtreecommitdiffstats
path: root/tests/notification/base.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2013-09-16 02:41:03 +0200
committerNils Adermann <naderman@naderman.de>2013-09-16 02:41:03 +0200
commit2472271bc0cd7c15c77783c86ccaac643ab1756a (patch)
tree0877d20f422411ed20b398c616b26b69ff30fdcd /tests/notification/base.php
parent21bbb5850349326464204bdb1bea7ecf5a88c10a (diff)
downloadforums-2472271bc0cd7c15c77783c86ccaac643ab1756a.tar
forums-2472271bc0cd7c15c77783c86ccaac643ab1756a.tar.gz
forums-2472271bc0cd7c15c77783c86ccaac643ab1756a.tar.bz2
forums-2472271bc0cd7c15c77783c86ccaac643ab1756a.tar.xz
forums-2472271bc0cd7c15c77783c86ccaac643ab1756a.zip
[ticket/11700] Fix tests after merging new develop code
PHPBB3-11700
Diffstat (limited to 'tests/notification/base.php')
-rw-r--r--tests/notification/base.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/notification/base.php b/tests/notification/base.php
index 8de162a1fb..549545f01b 100644
--- a/tests/notification/base.php
+++ b/tests/notification/base.php
@@ -46,17 +46,17 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case
global $db, $config, $user, $auth, $cache, $phpbb_container;
$db = $this->db = $this->new_dbal();
- $config = $this->config = new phpbb_config(array(
+ $config = $this->config = new \phpbb\config\config(array(
'allow_privmsg' => true,
'allow_bookmarks' => true,
'allow_topic_notify' => true,
'allow_forum_notify' => true,
));
- $user = $this->user = new phpbb_user();
- $this->user_loader = new phpbb_user_loader($this->db, $phpbb_root_path, $phpEx, 'phpbb_users');
+ $user = $this->user = new \phpbb\user();
+ $this->user_loader = new \phpbb\user_loader($this->db, $phpbb_root_path, $phpEx, 'phpbb_users');
$auth = $this->auth = new phpbb_mock_notifications_auth();
- $cache = $this->cache = new phpbb_cache_service(
- new phpbb_cache_driver_null(),
+ $cache = $this->cache = new \phpbb\cache\service(
+ new \phpbb\cache\driver\null(),
$this->config,
$this->db,
$phpbb_root_path,
@@ -87,7 +87,7 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case
$types = array();
foreach ($this->get_notification_types() as $type)
{
- $class = $this->build_type('phpbb_notification_type_' . $type);
+ $class = $this->build_type('phpbb\notification\type\\' . $type);
$types[$type] = $class;
$this->container->set('notification.type.' . $type, $class);