aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-11-15 21:43:33 +0100
committerAndreas Fischer <bantu@phpbb.com>2012-11-15 21:43:33 +0100
commit3408662e16c82ba2e82de3191183af0e4eb3941d (patch)
tree7417e35c1517b5a56b32125eee14f1b5f1326659
parent51b07364c4ff191f0c1f1ee6ea3e43227be494ee (diff)
parent8917b31e31e117e9ded9558a065986bfb4a672ac (diff)
downloadforums-3408662e16c82ba2e82de3191183af0e4eb3941d.tar
forums-3408662e16c82ba2e82de3191183af0e4eb3941d.tar.gz
forums-3408662e16c82ba2e82de3191183af0e4eb3941d.tar.bz2
forums-3408662e16c82ba2e82de3191183af0e4eb3941d.tar.xz
forums-3408662e16c82ba2e82de3191183af0e4eb3941d.zip
Merge remote-tracking branch 'p/ticket/11202' into develop
* p/ticket/11202: [ticket/11202] Check response success before content assertions.
-rw-r--r--tests/functional/extension_controller_test.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/functional/extension_controller_test.php b/tests/functional/extension_controller_test.php
index e9409d9d3f..d92a830365 100644
--- a/tests/functional/extension_controller_test.php
+++ b/tests/functional/extension_controller_test.php
@@ -82,6 +82,7 @@ class phpbb_functional_extension_controller_test extends phpbb_functional_test_c
{
$this->phpbb_extension_manager->enable('foobar');
$crawler = $this->request('GET', 'index.php?ext=foobar');
+ $this->assert_response_success();
$this->assertContains("This is for testing purposes.", $crawler->filter('#page-body')->text());
$this->phpbb_extension_manager->purge('foobar');
}
@@ -94,6 +95,7 @@ class phpbb_functional_extension_controller_test extends phpbb_functional_test_c
{
$this->phpbb_extension_manager->enable('foo/bar');
$crawler = $this->request('GET', 'index.php?ext=foo/bar');
+ $this->assert_response_success();
$this->assertContains("This is for testing purposes.", $crawler->filter('#page-body')->text());
$this->phpbb_extension_manager->purge('foo/bar');
}