mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
[ticket/14264] Fix textreparser tests
PHPBB3-14264
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
@@ -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);
|
||||
}
|
||||
}
|
||||
|
@@ -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);
|
||||
}
|
||||
}
|
||||
|
@@ -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);
|
||||
}
|
||||
}
|
||||
|
@@ -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);
|
||||
}
|
||||
}
|
||||
|
@@ -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);
|
||||
}
|
||||
}
|
||||
|
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user