From af0db9ffb06c8f07d480033b19e4ca0948b25210 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 17 Feb 2014 13:32:22 +0100 Subject: [PATCH] Hardcoded browser setup for now MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ř --- test/selenium/TestConfig.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/test/selenium/TestConfig.php b/test/selenium/TestConfig.php index b78148bd59..3512e1cda3 100644 --- a/test/selenium/TestConfig.php +++ b/test/selenium/TestConfig.php @@ -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,