1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-24 10:31:57 +02:00

Merge branch '3.2.x'

* 3.2.x:
  [ticket/14791] Get form tokens from correct button in search test base
This commit is contained in:
Máté Bartus
2016-09-22 10:16:22 +02:00

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,