aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework
diff options
context:
space:
mode:
authorFyorl <gaelreth@gmail.com>2012-07-30 12:54:00 +0100
committerFyorl <gaelreth@gmail.com>2012-07-30 14:13:28 +0100
commit647d395908a6e852acef9ec65aa649eb3754a1d2 (patch)
tree8ea5f3009b060b89eb12f6944f8a580013f495ac /tests/test_framework
parent49a53755e6da8a8dc5ff09ba1768c9069a00ef52 (diff)
downloadforums-647d395908a6e852acef9ec65aa649eb3754a1d2.tar
forums-647d395908a6e852acef9ec65aa649eb3754a1d2.tar.gz
forums-647d395908a6e852acef9ec65aa649eb3754a1d2.tar.bz2
forums-647d395908a6e852acef9ec65aa649eb3754a1d2.tar.xz
forums-647d395908a6e852acef9ec65aa649eb3754a1d2.zip
[ticket/11034] Re-arranged install order to emulate real install
PHPBB3-11034
Diffstat (limited to 'tests/test_framework')
-rw-r--r--tests/test_framework/phpbb_functional_test_case.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_framework/phpbb_functional_test_case.php b/tests/test_framework/phpbb_functional_test_case.php
index ed8ce9d040..2423299b7c 100644
--- a/tests/test_framework/phpbb_functional_test_case.php
+++ b/tests/test_framework/phpbb_functional_test_case.php
@@ -139,13 +139,11 @@ class phpbb_functional_test_case extends phpbb_test_case
$this->do_request('create_table', $data);
- file_put_contents($phpbb_root_path . "config.$phpEx", phpbb_create_config_file_data($data, self::$config['dbms'], array(), true));
-
$this->do_request('config_file', $data);
-
- copy($phpbb_root_path . "config.$phpEx", $phpbb_root_path . "config_test.$phpEx");
+ file_put_contents($phpbb_root_path . "config.$phpEx", phpbb_create_config_file_data($data, self::$config['dbms'], array(), true));
$this->do_request('final', $data);
+ copy($phpbb_root_path . "config.$phpEx", $phpbb_root_path . "config_test.$phpEx");
}
private function do_request($sub, $post_data = null)