aboutsummaryrefslogtreecommitdiffstats
path: root/tests/notification/base.php
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2015-10-13 23:40:52 -0700
committerMatt Friedman <maf675@gmail.com>2015-10-13 23:40:52 -0700
commitb64a37d451132dcf7ef5fc3d6e700a6fb6decd90 (patch)
tree8432ace2597886cfbf20bcfdd27e39cd17c1f6b1 /tests/notification/base.php
parent03cb2a7b0c5a3756522c27d708bdaf0bfa771706 (diff)
downloadforums-b64a37d451132dcf7ef5fc3d6e700a6fb6decd90.tar
forums-b64a37d451132dcf7ef5fc3d6e700a6fb6decd90.tar.gz
forums-b64a37d451132dcf7ef5fc3d6e700a6fb6decd90.tar.bz2
forums-b64a37d451132dcf7ef5fc3d6e700a6fb6decd90.tar.xz
forums-b64a37d451132dcf7ef5fc3d6e700a6fb6decd90.zip
[ticket/14237] Use $language class for notifications
PHPBB3-14237
Diffstat (limited to 'tests/notification/base.php')
-rw-r--r--tests/notification/base.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/notification/base.php b/tests/notification/base.php
index 1295f099f0..b64e25cf8c 100644
--- a/tests/notification/base.php
+++ b/tests/notification/base.php
@@ -90,6 +90,7 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case
$loader->load('services_notification.yml');
$phpbb_container->set('user_loader', $this->user_loader);
$phpbb_container->set('user', $user);
+ $phpbb_container->set('language', $lang);
$phpbb_container->set('config', $this->config);
$phpbb_container->set('dbal.conn', $this->db);
$phpbb_container->set('auth', $auth);
@@ -111,6 +112,7 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case
$this->phpbb_dispatcher,
$this->db,
$this->cache,
+ $lang,
$this->user,
'phpbb_notification_types',
'phpbb_user_notifications'