diff options
| -rw-r--r-- | tests/test_framework/phpbb_functional_test_case.php | 6 | 
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)  | 
