aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
*/