mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-19 08:01:27 +02:00
[ticket/10325] use assert_response_success parts
PHPBB3-10325
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user