aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2014-10-25 21:01:58 -0700
committerNils Adermann <naderman@naderman.de>2014-10-25 21:01:58 -0700
commit85e3b135f8c9f445ad9a6b302647461d6f0d1de8 (patch)
treedafb3d732186d7e915d7e5b21abef398470cfd7f
parentad25f2b182006ed1458916eddd0857cbfb374da1 (diff)
parent5c1ef4548811cc73536deba7ce71f414f3736095 (diff)
downloadforums-85e3b135f8c9f445ad9a6b302647461d6f0d1de8.tar
forums-85e3b135f8c9f445ad9a6b302647461d6f0d1de8.tar.gz
forums-85e3b135f8c9f445ad9a6b302647461d6f0d1de8.tar.bz2
forums-85e3b135f8c9f445ad9a6b302647461d6f0d1de8.tar.xz
forums-85e3b135f8c9f445ad9a6b302647461d6f0d1de8.zip
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/13207] Use assert_checkbox_is_checked for registration test
-rw-r--r--tests/functional/registration_test.php5
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');
}
}