mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[ticket/11608] Logout before searching
Keyword search in search functional tests should be performed as guests rather than logged in as admin. PHPBB3-11608
This commit is contained in:
parent
f4ca9a30a5
commit
ec30fcf819
1 changed files with 4 additions and 0 deletions
|
@ -77,8 +77,12 @@ class phpbb_functional_search_test extends phpbb_functional_test_case
|
|||
$this->create_search_index($search_backend);
|
||||
}
|
||||
|
||||
$this->logout();
|
||||
$this->search_found();
|
||||
$this->search_not_found();
|
||||
|
||||
$this->login();
|
||||
$this->admin_login();
|
||||
$this->delete_search_index($search_backend);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue