mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge remote-tracking branch 'github-marc1706/ticket/13207' into develop-ascraeus
* github-marc1706/ticket/13207: [ticket/13207] Use assert_checkbox_is_checked for registration test
This commit is contained in:
commit
5c1ef45488
1 changed files with 2 additions and 3 deletions
|
@ -61,8 +61,7 @@ class phpbb_functional_registration_test extends phpbb_functional_test_case
|
||||||
{
|
{
|
||||||
$this->login('user-reg-test');
|
$this->login('user-reg-test');
|
||||||
$crawler = self::request('GET', 'ucp.php?i=ucp_notifications&mode=notification_options&sid=' . $this->sid);
|
$crawler = self::request('GET', 'ucp.php?i=ucp_notifications&mode=notification_options&sid=' . $this->sid);
|
||||||
$form_values = $crawler->selectButton('Submit')->form()->getValues();
|
$this->assert_checkbox_is_checked($crawler, 'notification.type.post_notification.method.email');
|
||||||
$this->assertEquals(1, $form_values['notification.type.post_notification.method.email']);
|
$this->assert_checkbox_is_checked($crawler, 'notification.type.topic_notification.method.email');
|
||||||
$this->assertEquals(1, $form_values['notification.type.topic_notification.method.email']);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue