[ticket/11040] Use unique text for the test post added

PHPBB3-11040
This commit is contained in:
Dhruv 2014-03-10 01:02:57 +05:30
parent 799c575990
commit 3d1d25a122

View file

@ -32,7 +32,7 @@ abstract class phpbb_functional_search_base extends phpbb_functional_test_case
$this->login();
$this->admin_login();
$post = $this->create_topic(2, 'Test Topic 1 Subject', 'This is a test topic posted by the testing framework.');
$post = $this->create_topic(2, 'Test Topic 1 foosubject', 'This is a test topic posted by the barsearch testing framework.');
$crawler = self::request('GET', 'adm/index.php?i=acp_search&mode=settings&sid=' . $this->sid);
$form = $crawler->selectButton('Submit')->form();
@ -58,7 +58,7 @@ abstract class phpbb_functional_search_base extends phpbb_functional_test_case
$this->logout();
$this->assert_search_found('phpbb3+installation', 1, 3);
$this->assert_search_found('subject+framework', 1, 2);
$this->assert_search_found('foosubject+barsearch', 1, 2);
$this->assert_search_not_found('loremipsumdedo');
$this->login();