aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2014-10-25 21:01:51 -0700
committerNils Adermann <naderman@naderman.de>2014-10-25 21:01:51 -0700
commit5c1ef4548811cc73536deba7ce71f414f3736095 (patch)
tree13c04ec762aa37c98d8ce335f7ad07d8009a71f2
parent7a4b404af7cc597a8efb99435b261fae73f42372 (diff)
parentcafd3b79fdf4d567e25841fa02da035d8dee33fa (diff)
downloadforums-5c1ef4548811cc73536deba7ce71f414f3736095.tar
forums-5c1ef4548811cc73536deba7ce71f414f3736095.tar.gz
forums-5c1ef4548811cc73536deba7ce71f414f3736095.tar.bz2
forums-5c1ef4548811cc73536deba7ce71f414f3736095.tar.xz
forums-5c1ef4548811cc73536deba7ce71f414f3736095.zip
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
-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');
}
}