Hardcoded browser setup for now

The old code did not make much sense anyway as it did overwrite the
setting as many times as it was included.

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2014-02-17 13:32:22 +01:00
parent b89988a4e9
commit af0db9ffb0

View File

@ -38,13 +38,8 @@ class TestConfig
*/
public function __construct()
{
$xmlDoc = new DOMDocument();
$xmlDoc->load('../phpunit.xml.dist');
$searchNode = $xmlDoc->getElementsByTagName("browser");
foreach ($searchNode as $searchNode) {
$this->setCurrentBrowser($searchNode->getAttribute('browser'));
$this->setTimeoutValue($searchNode->getAttribute('timeout'));
}
$this->setCurrentBrowser('*firefox');
$this->setTimeoutValue(30000);
$this->setLoginURL(TESTSUITE_PHPMYADMIN_HOST . TESTSUITE_PHPMYADMIN_URL);
$this->setDBCredentials(
TESTSUITE_USER,