aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/extension_module_test.php
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-06-06 17:21:01 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-06-06 17:21:01 -0500
commit6bc775a75bdb4d4984eba10fba253c4cc75542d1 (patch)
treee9a254aa34b872d99244d09e715a8b3371382ec7 /tests/functional/extension_module_test.php
parentb4b1704a9b2f2c6e7770f478e27c5c408772f3ff (diff)
parent1d7c80b91210337845ae33267131bb82473b9a9f (diff)
downloadforums-6bc775a75bdb4d4984eba10fba253c4cc75542d1.tar
forums-6bc775a75bdb4d4984eba10fba253c4cc75542d1.tar.gz
forums-6bc775a75bdb4d4984eba10fba253c4cc75542d1.tar.bz2
forums-6bc775a75bdb4d4984eba10fba253c4cc75542d1.tar.xz
forums-6bc775a75bdb4d4984eba10fba253c4cc75542d1.zip
Merge remote-tracking branch 'remotes/nickv/ticket/11568-develop' into develop
# By Joas Schilling # Via Joas Schilling * remotes/nickv/ticket/11568-develop: (21 commits) [ticket/11568] Split status code and html debug assertion into two methods [ticket/11568] Add comma at end of array key-value couple [ticket/11568] Invert logic for asserting the response [ticket/11568] Use static calls for static methods [ticket/develop/11568] Remove unneccessary second call with wrong arguments [ticket/11568] Remove unused method [ticket/11568] Only assert string when doctype is there at all [ticket/develop/11568] Fix some more tests in 3.1 [ticket/develop/11568] Remove php extension parameter [ticket/develop/11568] Remove unneccessary calls to assert_response_success() [ticket/develop/11568] Do not directly access $client from tests [ticket/11568] Add method to get page content [ticket/11568] Allow different status codes [ticket/11568] Trim the output to allow Tabs before INCLUDE overall_header [ticket/11568] Fix common_groups_test.php form handling [ticket/11568] Make CookieJar static aswell [ticket/11568] Remove manual calls to assert_response_success() [ticket/11568] Only use a static version of the client [ticket/11568] Any output before the doc type means there was an error [ticket/11568] Set client manually so we can increase the cURL timeout ...
Diffstat (limited to 'tests/functional/extension_module_test.php')
-rw-r--r--tests/functional/extension_module_test.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/functional/extension_module_test.php b/tests/functional/extension_module_test.php
index cf67675a28..c8686e0ac6 100644
--- a/tests/functional/extension_module_test.php
+++ b/tests/functional/extension_module_test.php
@@ -122,8 +122,7 @@ class phpbb_functional_extension_module_test extends phpbb_functional_test_case
{
$this->login();
$this->admin_login();
- $crawler = $this->request('GET', 'adm/index.php?i=phpbb_ext_foo_bar_acp_main_module&mode=mode&sid=' . $this->sid, array(), true);
- $this->assert_response_success();
+ $crawler = self::request('GET', 'adm/index.php?i=phpbb_ext_foo_bar_acp_main_module&mode=mode&sid=' . $this->sid);
$this->assertContains("Bertie rulez!", $crawler->filter('#main')->text());
$this->phpbb_extension_manager->purge('foo/bar');
}