mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/11040] Use unique text for the test post added
PHPBB3-11040
This commit is contained in:
parent
799c575990
commit
3d1d25a122
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ abstract class phpbb_functional_search_base extends phpbb_functional_test_case
|
||||||
$this->login();
|
$this->login();
|
||||||
$this->admin_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);
|
$crawler = self::request('GET', 'adm/index.php?i=acp_search&mode=settings&sid=' . $this->sid);
|
||||||
$form = $crawler->selectButton('Submit')->form();
|
$form = $crawler->selectButton('Submit')->form();
|
||||||
|
@ -58,7 +58,7 @@ abstract class phpbb_functional_search_base extends phpbb_functional_test_case
|
||||||
|
|
||||||
$this->logout();
|
$this->logout();
|
||||||
$this->assert_search_found('phpbb3+installation', 1, 3);
|
$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->assert_search_not_found('loremipsumdedo');
|
||||||
|
|
||||||
$this->login();
|
$this->login();
|
||||||
|
|
Loading…
Add table
Reference in a new issue