aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text_reparser
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2015-11-03 16:45:57 +0100
committerOliver Schramm <oliver.schramm97@gmail.com>2015-11-03 16:45:57 +0100
commit3c43865a15f59f119e41a277d9053c4689b2652e (patch)
tree749e4793793bc60eae971fe5cd2ac349a07072d0 /tests/text_reparser
parent2016550a32168ee5fcf11bfdd367ce48fbcf88b1 (diff)
downloadforums-3c43865a15f59f119e41a277d9053c4689b2652e.tar
forums-3c43865a15f59f119e41a277d9053c4689b2652e.tar.gz
forums-3c43865a15f59f119e41a277d9053c4689b2652e.tar.bz2
forums-3c43865a15f59f119e41a277d9053c4689b2652e.tar.xz
forums-3c43865a15f59f119e41a277d9053c4689b2652e.zip
[ticket/14264] Fix textreparser tests
PHPBB3-14264
Diffstat (limited to 'tests/text_reparser')
-rw-r--r--tests/text_reparser/plugins/forum_description_test.php2
-rw-r--r--tests/text_reparser/plugins/forum_rules_test.php2
-rw-r--r--tests/text_reparser/plugins/group_description_test.php2
-rw-r--r--tests/text_reparser/plugins/pm_text_test.php2
-rw-r--r--tests/text_reparser/plugins/poll_title_test.php2
-rw-r--r--tests/text_reparser/plugins/post_text_test.php2
-rw-r--r--tests/text_reparser/plugins/user_signature_test.php2
7 files changed, 7 insertions, 7 deletions
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);
}
}