aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2013-04-15 22:02:21 +0530
committerDhruv <dhruv.goel92@gmail.com>2013-04-15 22:02:21 +0530
commit14071e6085d55f459728ade117ff93b3957045d2 (patch)
treeb7af99de04256179439f436f71f520afe5ed7e3c /tests
parent82a630cd648b193079cd147144ad5b035450d824 (diff)
downloadforums-14071e6085d55f459728ade117ff93b3957045d2.tar
forums-14071e6085d55f459728ade117ff93b3957045d2.tar.gz
forums-14071e6085d55f459728ade117ff93b3957045d2.tar.bz2
forums-14071e6085d55f459728ade117ff93b3957045d2.tar.xz
forums-14071e6085d55f459728ade117ff93b3957045d2.zip
[ticket/11493] add checks for Notice and Warning
PHPBB3-11493
Diffstat (limited to 'tests')
-rw-r--r--tests/test_framework/phpbb_functional_test_case.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_framework/phpbb_functional_test_case.php b/tests/test_framework/phpbb_functional_test_case.php
index c600cba5f8..83c931f924 100644
--- a/tests/test_framework/phpbb_functional_test_case.php
+++ b/tests/test_framework/phpbb_functional_test_case.php
@@ -349,6 +349,8 @@ class phpbb_functional_test_case extends phpbb_test_case
$this->assertEquals(200, $this->client->getResponse()->getStatus());
$content = $this->client->getResponse()->getContent();
$this->assertNotContains('Fatal error:', $content);
+ $this->assertNotContains('Notice:', $content);
+ $this->assertNotContains('Warning:', $content);
$this->assertNotContains('[phpBB Debug]', $content);
}
}