aboutsummaryrefslogtreecommitdiffstats
path: root/tests/notification
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2015-02-02 20:07:46 +0100
committerAndreas Fischer <bantu@phpbb.com>2015-02-02 20:07:46 +0100
commitdf77174a2b2a8f9e86ee8f992556dd4820484be3 (patch)
tree3a83dabddd37c465de62e60bd2bcecf3c8a29474 /tests/notification
parent6e2838a4cabc6e7874ff1a72af2d3eb4f5361428 (diff)
parent79d4ff553844fa80be4da9286239f62a45489072 (diff)
downloadforums-df77174a2b2a8f9e86ee8f992556dd4820484be3.tar
forums-df77174a2b2a8f9e86ee8f992556dd4820484be3.tar.gz
forums-df77174a2b2a8f9e86ee8f992556dd4820484be3.tar.bz2
forums-df77174a2b2a8f9e86ee8f992556dd4820484be3.tar.xz
forums-df77174a2b2a8f9e86ee8f992556dd4820484be3.zip
Merge pull request #3280 from MGaetan89/ticket/13494
[ticket/13494] Change set_config() calls with $config->set() * MGaetan89/ticket/13494: [ticket/13494] Update calls to `set_config()`
Diffstat (limited to 'tests/notification')
-rw-r--r--tests/notification/group_request_test.php2
-rw-r--r--tests/notification/submit_post_base.php1
-rw-r--r--tests/notification/user_list_trim_test.php1
3 files changed, 0 insertions, 4 deletions
diff --git a/tests/notification/group_request_test.php b/tests/notification/group_request_test.php
index 0d1bda95ce..0d532882c6 100644
--- a/tests/notification/group_request_test.php
+++ b/tests/notification/group_request_test.php
@@ -40,8 +40,6 @@ class phpbb_notification_group_request_test extends phpbb_tests_notification_bas
include_once($phpbb_root_path . 'includes/functions_user.' . $phpEx);
include_once($phpbb_root_path . 'includes/functions_content.' . $phpEx);
- set_config(false, false, false, $this->config);
-
$this->container->set('groupposition.legend', new \phpbb\groupposition\legend(
$this->db,
$this->user
diff --git a/tests/notification/submit_post_base.php b/tests/notification/submit_post_base.php
index 5e770f71c9..fd5f33466b 100644
--- a/tests/notification/submit_post_base.php
+++ b/tests/notification/submit_post_base.php
@@ -70,7 +70,6 @@ abstract class phpbb_notification_submit_post_base extends phpbb_database_test_c
// Config
$config = new \phpbb\config\config(array('num_topics' => 1,'num_posts' => 1,));
- set_config(null, null, null, $config);
set_config_count(null, null, null, $config);
$cache = new \phpbb\cache\service(
diff --git a/tests/notification/user_list_trim_test.php b/tests/notification/user_list_trim_test.php
index c43eff729c..2d24950275 100644
--- a/tests/notification/user_list_trim_test.php
+++ b/tests/notification/user_list_trim_test.php
@@ -33,7 +33,6 @@ class phpbb_notification_user_list_trim_test extends phpbb_database_test_case
$db = $this->new_dbal();
$config = new \phpbb\config\config(array());
- set_config(null, null, null, $config);
set_config_count(null, null, null, $config);
$cache = new \phpbb\cache\service(