mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11568] Fix common_groups_test.php form handling
PHPBB3-11568
This commit is contained in:
parent
da98866c24
commit
9be57ec076
1 changed files with 1 additions and 2 deletions
|
@ -36,10 +36,9 @@ abstract class phpbb_functional_common_groups_test extends phpbb_functional_test
|
||||||
|
|
||||||
// Manage Administrators group
|
// Manage Administrators group
|
||||||
$crawler = $this->request('GET', $this->get_url() . '&g=5&sid=' . $this->sid);
|
$crawler = $this->request('GET', $this->get_url() . '&g=5&sid=' . $this->sid);
|
||||||
$this->assert_response_success();
|
|
||||||
$form = $crawler->selectButton($this->lang('SUBMIT'))->form();
|
$form = $crawler->selectButton($this->lang('SUBMIT'))->form();
|
||||||
$form['group_colour']->setValue($input);
|
$form['group_colour']->setValue($input);
|
||||||
$crawler = $this->client->submit($form);
|
$crawler = $this->submit($form);
|
||||||
$this->assertContains($this->lang($expected), $crawler->text());
|
$this->assertContains($this->lang($expected), $crawler->text());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue