mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/10325] use assert_response_success parts
PHPBB3-10325
This commit is contained in:
parent
a90a0b087c
commit
1d0c8a1fe8
1 changed files with 5 additions and 1 deletions
|
@ -27,7 +27,11 @@ class phpbb_functional_forgot_password_test extends phpbb_functional_test_case
|
||||||
$this->admin_login();
|
$this->admin_login();
|
||||||
$this->add_lang('ucp');
|
$this->add_lang('ucp');
|
||||||
$crawler = $this->request('GET', 'adm/index.php?sid=' . $this->sid . '&i=acp_board&mode=security');
|
$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();
|
$form = $crawler->selectButton('Submit')->form();
|
||||||
$values = $form->getValues();
|
$values = $form->getValues();
|
||||||
|
|
Loading…
Add table
Reference in a new issue