aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-05-30 14:16:31 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-05-30 14:16:31 +0200
commitb4d23fa5519d4c0baa562990cf48ed058473fed4 (patch)
treec2132ca10d33108750d121957dbeaefe32eec679 /tests/test_framework
parent45c91be970f6afc1a5907442cd66e6a3a42a00fc (diff)
downloadforums-b4d23fa5519d4c0baa562990cf48ed058473fed4.tar
forums-b4d23fa5519d4c0baa562990cf48ed058473fed4.tar.gz
forums-b4d23fa5519d4c0baa562990cf48ed058473fed4.tar.bz2
forums-b4d23fa5519d4c0baa562990cf48ed058473fed4.tar.xz
forums-b4d23fa5519d4c0baa562990cf48ed058473fed4.zip
[ticket/11568] Remove unused method
PHPBB3-11568
Diffstat (limited to 'tests/test_framework')
-rw-r--r--tests/test_framework/phpbb_functional_test_case.php19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/test_framework/phpbb_functional_test_case.php b/tests/test_framework/phpbb_functional_test_case.php
index 304220f243..04a43182ae 100644
--- a/tests/test_framework/phpbb_functional_test_case.php
+++ b/tests/test_framework/phpbb_functional_test_case.php
@@ -284,25 +284,6 @@ class phpbb_functional_test_case extends phpbb_test_case
copy($phpbb_root_path . "config.$phpEx", $phpbb_root_path . "config_test.$phpEx");
}
- static private function do_request($sub, $post_data = null)
- {
- $context = null;
-
- if ($post_data)
- {
- $context = stream_context_create(array(
- 'http' => array(
- 'method' => 'POST',
- 'header' => 'Content-Type: application/x-www-form-urlencoded',
- 'content' => http_build_query($post_data),
- 'ignore_errors' => true,
- ),
- ));
- }
-
- return file_get_contents(self::$config['phpbb_functional_url'] . 'install/index.php?mode=install&sub=' . $sub, false, $context);
- }
-
static private function recreate_database($config)
{
$db_conn_mgr = new phpbb_database_test_connection_manager($config);