mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 00:07:44 +02:00
[ticket/11034] Re-arranged install order to emulate real install
PHPBB3-11034
This commit is contained in:
@@ -139,13 +139,11 @@ class phpbb_functional_test_case extends phpbb_test_case
|
|||||||
|
|
||||||
$this->do_request('create_table', $data);
|
$this->do_request('create_table', $data);
|
||||||
|
|
||||||
|
$this->do_request('config_file', $data);
|
||||||
file_put_contents($phpbb_root_path . "config.$phpEx", phpbb_create_config_file_data($data, self::$config['dbms'], array(), true));
|
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");
|
|
||||||
|
|
||||||
$this->do_request('final', $data);
|
$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)
|
private function do_request($sub, $post_data = null)
|
||||||
|
Reference in New Issue
Block a user