Skip to content

Commit

Permalink
[ticket/12962] Fix whitespace characters
Browse files Browse the repository at this point in the history
PHPBB3-12962
dhruvgoel92 committed Sep 21, 2014
1 parent a2627e8 commit a1dff65
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions tests/test_framework/phpbb_ui_test_case.php
Original file line number Diff line number Diff line change
@@ -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 @@ static public function setUpBeforeClass()
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 @@ static public function submit($type = 'id', $value = 'submit')
$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 @@ static public function install_board()
self::assertContains('You have successfully installed', self::find_element('id', 'main')->getText());

copy($config_file, $config_file_test);
}
}
}

0 comments on commit a1dff65

Please sign in to comment.