diff options
author | Dhruv <dhruv.goel92@gmail.com> | 2014-08-10 14:55:44 +0200 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2014-09-21 13:53:28 +0530 |
commit | a1dff65cd1872fd239c0e78949a5924ee6784a34 (patch) | |
tree | 2812c478bc7b906e0ba7701bf36d4d47ae8d4aaf /tests | |
parent | a2627e8790733f59339cea8e451d4b2183986288 (diff) | |
download | forums-a1dff65cd1872fd239c0e78949a5924ee6784a34.tar forums-a1dff65cd1872fd239c0e78949a5924ee6784a34.tar.gz forums-a1dff65cd1872fd239c0e78949a5924ee6784a34.tar.bz2 forums-a1dff65cd1872fd239c0e78949a5924ee6784a34.tar.xz forums-a1dff65cd1872fd239c0e78949a5924ee6784a34.zip |
[ticket/12962] Fix whitespace characters
PHPBB3-12962
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_framework/phpbb_ui_test_case.php | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/test_framework/phpbb_ui_test_case.php b/tests/test_framework/phpbb_ui_test_case.php index 7787f4ee68..451aad7e60 100644 --- a/tests/test_framework/phpbb_ui_test_case.php +++ b/tests/test_framework/phpbb_ui_test_case.php @@ -18,17 +18,17 @@ class phpbb_ui_test_case extends phpbb_test_case static protected $host = '127.0.0.1'; static protected $port = 8910; - /** - * @var \RemoteWebDriver - */ - static protected $webDriver; + /** + * @var \RemoteWebDriver + */ + static protected $webDriver; - static protected $config; - static protected $root_url; - static protected $already_installed = false; + static protected $config; + static protected $root_url; + static protected $already_installed = false; static public function setUpBeforeClass() - { + { parent::setUpBeforeClass(); 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::$already_installed = true; } - } + } - static public function visit($path) - { + static public function visit($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->recreate_db(); @@ -84,8 +84,8 @@ class phpbb_ui_test_case extends phpbb_test_case $element->click(); } - static public function install_board() - { + static public function install_board() + { global $phpbb_root_path, $phpEx; 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()); copy($config_file, $config_file_test); - } + } } |