1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 20:13:22 +01:00

[ticket/11568] Fix common_groups_test.php form handling

PHPBB3-11568
This commit is contained in:
Joas Schilling 2013-05-27 22:33:48 +02:00
parent da98866c24
commit 9be57ec076

View File

@ -36,10 +36,9 @@ abstract class phpbb_functional_common_groups_test extends phpbb_functional_test
// Manage Administrators group
$crawler = $this->request('GET', $this->get_url() . '&g=5&sid=' . $this->sid);
$this->assert_response_success();
$form = $crawler->selectButton($this->lang('SUBMIT'))->form();
$form['group_colour']->setValue($input);
$crawler = $this->client->submit($form);
$crawler = $this->submit($form);
$this->assertContains($this->lang($expected), $crawler->text());
}
}