mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/14264] Fix textreparser tests
PHPBB3-14264
This commit is contained in:
parent
2016550a32
commit
3c43865a15
7 changed files with 7 additions and 7 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue