[ticket/12962] Fix whitespace characters

PHPBB3-12962
This commit is contained in:
Dhruv 2014-08-10 14:55:44 +02:00
parent a2627e8790
commit a1dff65cd1

View file

@ -18,17 +18,17 @@ class phpbb_ui_test_case extends phpbb_test_case
static protected $host = '127.0.0.1'; static protected $host = '127.0.0.1';
static protected $port = 8910; static protected $port = 8910;
/** /**
* @var \RemoteWebDriver * @var \RemoteWebDriver
*/ */
static protected $webDriver; static protected $webDriver;
static protected $config; static protected $config;
static protected $root_url; static protected $root_url;
static protected $already_installed = false; static protected $already_installed = false;
static public function setUpBeforeClass() static public function setUpBeforeClass()
{ {
parent::setUpBeforeClass(); parent::setUpBeforeClass();
self::$config = phpbb_test_case_helpers::get_test_config(); self::$config = phpbb_test_case_helpers::get_test_config();
@ -60,14 +60,14 @@ class phpbb_ui_test_case extends phpbb_test_case
self::install_board(); self::install_board();
self::$already_installed = true; self::$already_installed = true;
} }
} }
static public function visit($path) static public function visit($path)
{ {
self::$webDriver->get(self::$root_url . $path); self::$webDriver->get(self::$root_url . $path);
} }
static protected function recreate_database($config) static protected function recreate_database($config)
{ {
$db_conn_mgr = new phpbb_database_test_connection_manager($config); $db_conn_mgr = new phpbb_database_test_connection_manager($config);
$db_conn_mgr->recreate_db(); $db_conn_mgr->recreate_db();
@ -84,8 +84,8 @@ class phpbb_ui_test_case extends phpbb_test_case
$element->click(); $element->click();
} }
static public function install_board() static public function install_board()
{ {
global $phpbb_root_path, $phpEx; global $phpbb_root_path, $phpEx;
self::recreate_database(self::$config); self::recreate_database(self::$config);
@ -188,5 +188,5 @@ class phpbb_ui_test_case extends phpbb_test_case
self::assertContains('You have successfully installed', self::find_element('id', 'main')->getText()); self::assertContains('You have successfully installed', self::find_element('id', 'main')->getText());
copy($config_file, $config_file_test); copy($config_file, $config_file_test);
} }
} }