diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-12-15 16:22:54 -0600 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-12-15 16:22:54 -0600 |
commit | 175b6deb6d263a3184d4b51cb1f00137cadc542e (patch) | |
tree | 8bd834e8d5c090823a53bf279d0533b725ffb61c /tests/test_framework/phpbb_functional_test_case.php | |
parent | d739745ea4ccc224b6b7fb686339138733c2203d (diff) | |
download | forums-175b6deb6d263a3184d4b51cb1f00137cadc542e.tar forums-175b6deb6d263a3184d4b51cb1f00137cadc542e.tar.gz forums-175b6deb6d263a3184d4b51cb1f00137cadc542e.tar.bz2 forums-175b6deb6d263a3184d4b51cb1f00137cadc542e.tar.xz forums-175b6deb6d263a3184d4b51cb1f00137cadc542e.zip |
[ticket/8610] Do not use requests to submit posts except in posting_test.php
Moving my functional test functions from posting_helpers.php to
posting_test.php since it is a bit nicer and more reusable if
posting_test.php is to be expanded in the future.
PHPBB3-8610
Diffstat (limited to 'tests/test_framework/phpbb_functional_test_case.php')
-rw-r--r-- | tests/test_framework/phpbb_functional_test_case.php | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/tests/test_framework/phpbb_functional_test_case.php b/tests/test_framework/phpbb_functional_test_case.php index 097db62e29..8ab6469e9a 100644 --- a/tests/test_framework/phpbb_functional_test_case.php +++ b/tests/test_framework/phpbb_functional_test_case.php @@ -299,7 +299,7 @@ class phpbb_functional_test_case extends phpbb_test_case } } - public function add_lang($lang_file) + protected function add_lang($lang_file) { if (is_array($lang_file)) { @@ -321,7 +321,7 @@ class phpbb_functional_test_case extends phpbb_test_case $this->lang = array_merge($this->lang, $lang); } - public function lang() + protected function lang() { $args = func_get_args(); $key = $args[0]; @@ -350,14 +350,4 @@ class phpbb_functional_test_case extends phpbb_test_case $content = $this->client->getResponse()->getContent(); $this->assertNotContains('Fatal error:', $content); } - - public function get_sid() - { - return $this->sid; - } - - public function get_client() - { - return $this->client; - } } |