mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +02:00
[ticket/11568] Fix common_groups_test.php form handling
PHPBB3-11568
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user