aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/common_groups_test.php
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-06-06 16:49:38 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-06-06 16:49:38 -0500
commit6b6a07560eef269c7cebf2e6e97df3c070402554 (patch)
tree48e6134add2bce3398ffda25d309d5666b895bf4 /tests/functional/common_groups_test.php
parentdeaa263e0a0c2f2a42dde3d81fe7fc4b36dabd21 (diff)
parent6af5262fcccae3f3e651348a20dbbd8a78e191aa (diff)
downloadforums-6b6a07560eef269c7cebf2e6e97df3c070402554.tar
forums-6b6a07560eef269c7cebf2e6e97df3c070402554.tar.gz
forums-6b6a07560eef269c7cebf2e6e97df3c070402554.tar.bz2
forums-6b6a07560eef269c7cebf2e6e97df3c070402554.tar.xz
forums-6b6a07560eef269c7cebf2e6e97df3c070402554.zip
Merge remote-tracking branch 'remotes/nickv/ticket/11568' into develop-olympus
# By Joas Schilling # Via Joas Schilling * remotes/nickv/ticket/11568: [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/11568] Remove unused method [ticket/11568] Only assert string when doctype is there at all [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 [ticket/11568] Use Goutte Client to install the board for functional tests
Diffstat (limited to 'tests/functional/common_groups_test.php')
-rw-r--r--tests/functional/common_groups_test.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/functional/common_groups_test.php b/tests/functional/common_groups_test.php
index 7ccd78421e..7c88ec900d 100644
--- a/tests/functional/common_groups_test.php
+++ b/tests/functional/common_groups_test.php
@@ -35,11 +35,10 @@ abstract class phpbb_functional_common_groups_test extends phpbb_functional_test
$this->add_lang(array('ucp', 'acp/groups'));
// Manage Administrators group
- $crawler = $this->request('GET', $this->get_url() . '&g=5&sid=' . $this->sid);
- $this->assert_response_success();
+ $crawler = self::request('GET', $this->get_url() . '&g=5&sid=' . $this->sid);
$form = $crawler->selectButton($this->lang('SUBMIT'))->form();
$form['group_colour']->setValue($input);
- $crawler = $this->client->submit($form);
+ $crawler = self::submit($form);
$this->assertContains($this->lang($expected), $crawler->text());
}
}