[ticket/14264] Fix textreparser tests

PHPBB3-14264
This commit is contained in:
Oliver Schramm 2015-11-03 16:45:57 +01:00
parent 2016550a32
commit 3c43865a15
7 changed files with 7 additions and 7 deletions

View file

@ -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);
}
}

View file

@ -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);
}
}

View file

@ -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);
}
}

View file

@ -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);
}
}

View file

@ -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);
}
}

View file

@ -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);
}
}

View file

@ -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);
}
}