aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/forgot_password_test.php
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2013-04-30 23:09:28 +0530
committerDhruv <dhruv.goel92@gmail.com>2013-04-30 23:09:28 +0530
commit1d0c8a1fe86b65174ae27c2353d52b69fda2a16d (patch)
tree8e8693d30be6e80be2e2d23dce5907b2863069b4 /tests/functional/forgot_password_test.php
parenta90a0b087ca3b1e29561a08019ca8ba2fa21c19d (diff)
downloadforums-1d0c8a1fe86b65174ae27c2353d52b69fda2a16d.tar
forums-1d0c8a1fe86b65174ae27c2353d52b69fda2a16d.tar.gz
forums-1d0c8a1fe86b65174ae27c2353d52b69fda2a16d.tar.bz2
forums-1d0c8a1fe86b65174ae27c2353d52b69fda2a16d.tar.xz
forums-1d0c8a1fe86b65174ae27c2353d52b69fda2a16d.zip
[ticket/10325] use assert_response_success parts
PHPBB3-10325
Diffstat (limited to 'tests/functional/forgot_password_test.php')
-rw-r--r--tests/functional/forgot_password_test.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/functional/forgot_password_test.php b/tests/functional/forgot_password_test.php
index 14dfae3d7c..bfb4616d64 100644
--- a/tests/functional/forgot_password_test.php
+++ b/tests/functional/forgot_password_test.php
@@ -27,7 +27,11 @@ class phpbb_functional_forgot_password_test extends phpbb_functional_test_case
$this->admin_login();
$this->add_lang('ucp');
$crawler = $this->request('GET', 'adm/index.php?sid=' . $this->sid . '&i=acp_board&mode=security');
- //$this->assert_response_success();
+ $this->assertEquals(200, $this->client->getResponse()->getStatus());
+ $content = $this->client->getResponse()->getContent();
+ $this->assertNotContains('Fatal error:', $content);
+ $this->assertNotContains('Notice:', $content);
+ $this->assertNotContains('[phpBB Debug]', $content);
$form = $crawler->selectButton('Submit')->form();
$values = $form->getValues();