1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-20 07:42:09 +02:00

Merge pull request #4456 from marc1706/ticket/14791

[ticket/14791] Get form tokens from correct button in search test base
This commit is contained in:
Máté Bartus 2016-09-22 10:15:28 +02:00 committed by GitHub
commit 6ae405f743

View File

@ -79,7 +79,7 @@ abstract class phpbb_functional_search_base extends phpbb_functional_test_case
{
$this->add_lang('acp/search');
$crawler = self::request('GET', 'adm/index.php?i=acp_search&mode=index&sid=' . $this->sid);
$form_values = $crawler->selectButton('Delete index')->form()->getValues();
$form_values = $crawler->selectButton('Create index')->form()->getValues();
$crawler = self::request(
'POST',
'adm/index.php?i=acp_search&mode=index&sid=' . $this->sid,