diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-10-25 20:05:25 -0700 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-10-25 20:05:25 -0700 |
commit | cafd3b79fdf4d567e25841fa02da035d8dee33fa (patch) | |
tree | 35cc7f5c62395b00b34d6f394b7ac0a5e2bc1287 /tests/functional/registration_test.php | |
parent | a5830fe0d56cfb354e1ec0a544847802253b33fb (diff) | |
download | forums-cafd3b79fdf4d567e25841fa02da035d8dee33fa.tar forums-cafd3b79fdf4d567e25841fa02da035d8dee33fa.tar.gz forums-cafd3b79fdf4d567e25841fa02da035d8dee33fa.tar.bz2 forums-cafd3b79fdf4d567e25841fa02da035d8dee33fa.tar.xz forums-cafd3b79fdf4d567e25841fa02da035d8dee33fa.zip |
[ticket/13207] Use assert_checkbox_is_checked for registration test
PHPBB3-13207
Diffstat (limited to 'tests/functional/registration_test.php')
-rw-r--r-- | tests/functional/registration_test.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/functional/registration_test.php b/tests/functional/registration_test.php index 26473c4fcd..690f4ae9f2 100644 --- a/tests/functional/registration_test.php +++ b/tests/functional/registration_test.php @@ -61,8 +61,7 @@ class phpbb_functional_registration_test extends phpbb_functional_test_case { $this->login('user-reg-test'); $crawler = self::request('GET', 'ucp.php?i=ucp_notifications&mode=notification_options&sid=' . $this->sid); - $form_values = $crawler->selectButton('Submit')->form()->getValues(); - $this->assertEquals(1, $form_values['notification.type.post_notification.method.email']); - $this->assertEquals(1, $form_values['notification.type.topic_notification.method.email']); + $this->assert_checkbox_is_checked($crawler, 'notification.type.post_notification.method.email'); + $this->assert_checkbox_is_checked($crawler, 'notification.type.topic_notification.method.email'); } } |