From 3c43865a15f59f119e41a277d9053c4689b2652e Mon Sep 17 00:00:00 2001 From: Oliver Schramm Date: Tue, 3 Nov 2015 16:45:57 +0100 Subject: [ticket/14264] Fix textreparser tests PHPBB3-14264 --- tests/text_reparser/plugins/forum_description_test.php | 2 +- tests/text_reparser/plugins/forum_rules_test.php | 2 +- tests/text_reparser/plugins/group_description_test.php | 2 +- tests/text_reparser/plugins/pm_text_test.php | 2 +- tests/text_reparser/plugins/poll_title_test.php | 2 +- tests/text_reparser/plugins/post_text_test.php | 2 +- tests/text_reparser/plugins/user_signature_test.php | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'tests/text_reparser') diff --git a/tests/text_reparser/plugins/forum_description_test.php b/tests/text_reparser/plugins/forum_description_test.php index 3b739353cd..57166e6a3c 100644 --- a/tests/text_reparser/plugins/forum_description_test.php +++ b/tests/text_reparser/plugins/forum_description_test.php @@ -21,6 +21,6 @@ class phpbb_textreparser_forum_description_test extends phpbb_textreparser_test_ protected function get_reparser() { - return new \phpbb\textreparser\plugins\forum_description($this->db); + return new \phpbb\textreparser\plugins\forum_description($this->db, FORUMS_TABLE); } } diff --git a/tests/text_reparser/plugins/forum_rules_test.php b/tests/text_reparser/plugins/forum_rules_test.php index 4c267c9014..72e4e98876 100644 --- a/tests/text_reparser/plugins/forum_rules_test.php +++ b/tests/text_reparser/plugins/forum_rules_test.php @@ -21,6 +21,6 @@ class phpbb_textreparser_forum_rules_test extends phpbb_textreparser_test_row_ba protected function get_reparser() { - return new \phpbb\textreparser\plugins\forum_rules($this->db); + return new \phpbb\textreparser\plugins\forum_rules($this->db, FORUMS_TABLE); } } diff --git a/tests/text_reparser/plugins/group_description_test.php b/tests/text_reparser/plugins/group_description_test.php index 51035903e1..babfc7e02f 100644 --- a/tests/text_reparser/plugins/group_description_test.php +++ b/tests/text_reparser/plugins/group_description_test.php @@ -21,6 +21,6 @@ class phpbb_textreparser_group_description_test extends phpbb_textreparser_test_ protected function get_reparser() { - return new \phpbb\textreparser\plugins\group_description($this->db); + return new \phpbb\textreparser\plugins\group_description($this->db, GROUPS_TABLE); } } diff --git a/tests/text_reparser/plugins/pm_text_test.php b/tests/text_reparser/plugins/pm_text_test.php index 3896a57e98..6dc1a9cb4c 100644 --- a/tests/text_reparser/plugins/pm_text_test.php +++ b/tests/text_reparser/plugins/pm_text_test.php @@ -21,6 +21,6 @@ class phpbb_textreparser_pm_text_test extends phpbb_textreparser_test_row_based_ protected function get_reparser() { - return new \phpbb\textreparser\plugins\pm_text($this->db); + return new \phpbb\textreparser\plugins\pm_text($this->db, PRIVMSGS_TABLE); } } diff --git a/tests/text_reparser/plugins/poll_title_test.php b/tests/text_reparser/plugins/poll_title_test.php index 76ca2ee228..046b6019c8 100644 --- a/tests/text_reparser/plugins/poll_title_test.php +++ b/tests/text_reparser/plugins/poll_title_test.php @@ -21,6 +21,6 @@ class phpbb_textreparser_poll_title_test extends phpbb_textreparser_test_row_bas protected function get_reparser() { - return new \phpbb\textreparser\plugins\poll_title($this->db); + return new \phpbb\textreparser\plugins\poll_title($this->db, TOPICS_TABLE); } } diff --git a/tests/text_reparser/plugins/post_text_test.php b/tests/text_reparser/plugins/post_text_test.php index 0f934a06ee..8ea71e65f5 100644 --- a/tests/text_reparser/plugins/post_text_test.php +++ b/tests/text_reparser/plugins/post_text_test.php @@ -21,6 +21,6 @@ class phpbb_textreparser_post_text_test extends phpbb_textreparser_test_row_base protected function get_reparser() { - return new \phpbb\textreparser\plugins\post_text($this->db); + return new \phpbb\textreparser\plugins\post_text($this->db, POSTS_TABLE); } } diff --git a/tests/text_reparser/plugins/user_signature_test.php b/tests/text_reparser/plugins/user_signature_test.php index ab830a303d..5b66f2788a 100644 --- a/tests/text_reparser/plugins/user_signature_test.php +++ b/tests/text_reparser/plugins/user_signature_test.php @@ -21,6 +21,6 @@ class phpbb_textreparser_user_signature_test extends phpbb_textreparser_test_row protected function get_reparser() { - return new \phpbb\textreparser\plugins\user_signature($this->db); + return new \phpbb\textreparser\plugins\user_signature($this->db, USERS_TABLE); } } -- cgit v1.2.1