aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2015-07-10 00:15:58 +0200
committerTristan Darricau <tristan.darricau@sensiolabs.com>2015-07-13 22:43:58 +0200
commit11bef3e22ed8cc2109ab7a5b4229f393d3648862 (patch)
tree89c9555017ef1b58e0ca04e1552cde74ddf4b9f0
parentc1deeab318b5a2c168f044a6a3d0f2d0897b8cd9 (diff)
downloadforums-11bef3e22ed8cc2109ab7a5b4229f393d3648862.tar
forums-11bef3e22ed8cc2109ab7a5b4229f393d3648862.tar.gz
forums-11bef3e22ed8cc2109ab7a5b4229f393d3648862.tar.bz2
forums-11bef3e22ed8cc2109ab7a5b4229f393d3648862.tar.xz
forums-11bef3e22ed8cc2109ab7a5b4229f393d3648862.zip
[ticket/11444] Update tests
PHPBB3-11444
-rw-r--r--phpBB/config/default/container/services_notification.yml24
-rw-r--r--tests/functional/notification_test.php2
2 files changed, 14 insertions, 12 deletions
diff --git a/phpBB/config/default/container/services_notification.yml b/phpBB/config/default/container/services_notification.yml
index 1076d13cce..c842656575 100644
--- a/phpBB/config/default/container/services_notification.yml
+++ b/phpBB/config/default/container/services_notification.yml
@@ -37,8 +37,8 @@ services:
scope: prototype
parent: notification.type.base
calls:
- - [set_user_loader, ["@user_loader"]]
- - [set_config, ["@config"]]
+ - [set_user_loader, [@user_loader]]
+ - [set_config, [@config]]
tags:
- { name: notification.type }
@@ -52,7 +52,7 @@ services:
notification.type.approve_topic:
class: phpbb\notification\type\approve_topic
scope: prototype
- parent: notification.type.base
+ parent: notification.type.topic
tags:
- { name: notification.type }
@@ -73,7 +73,7 @@ services:
notification.type.disapprove_topic:
class: phpbb\notification\type\disapprove_topic
scope: prototype
- parent: notification.type.base
+ parent: notification.type.topic
tags:
- { name: notification.type }
@@ -82,7 +82,7 @@ services:
scope: prototype
parent: notification.type.base
calls:
- - [set_user_loader, ["@user_loader"]]
+ - [set_user_loader, [@user_loader]]
tags:
- { name: notification.type }
@@ -98,8 +98,8 @@ services:
scope: prototype
parent: notification.type.base
calls:
- - [set_user_loader, ["@user_loader"]]
- - [set_config, ["@config"]]
+ - [set_user_loader, [@user_loader]]
+ - [set_config, [@config]]
tags:
- { name: notification.type }
@@ -108,8 +108,8 @@ services:
scope: prototype
parent: notification.type.base
calls:
- - [set_user_loader, ["@user_loader"]]
- - [set_config, ["@config"]]
+ - [set_user_loader, [@user_loader]]
+ - [set_config, [@config]]
tags:
- { name: notification.type }
@@ -162,15 +162,15 @@ services:
scope: prototype
parent: notification.type.base
calls:
- - [set_user_loader, ["@user_loader"]]
- - [set_config, ["@config"]]
+ - [set_user_loader, [@user_loader]]
+ - [set_config, [@config]]
tags:
- { name: notification.type }
notification.type.topic_in_queue:
class: phpbb\notification\type\topic_in_queue
scope: prototype
- parent: notification.type.base
+ parent: notification.type.topic
tags:
- { name: notification.type }
diff --git a/tests/functional/notification_test.php b/tests/functional/notification_test.php
index 5c6b87d50b..87c36dd4d1 100644
--- a/tests/functional/notification_test.php
+++ b/tests/functional/notification_test.php
@@ -11,6 +11,8 @@
*
*/
+require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
+
/**
* @group functional
*/