From 474802b947512f03e63955bc924c5dbdc7108843 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 17 Feb 2014 14:04:49 +0100 Subject: [PATCH] Need to use define here MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- test/selenium/TestBase.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/selenium/TestBase.php b/test/selenium/TestBase.php index c950abf9e4..7db89b8d81 100644 --- a/test/selenium/TestBase.php +++ b/test/selenium/TestBase.php @@ -49,6 +49,8 @@ function selenium_browsers() { } } +define('SELENIUM_BROWSERS', selenium_browsers()); + /** * Base class for Selenium tests. @@ -64,7 +66,7 @@ class PmaSeleniumBase extends PHPUnit_Extensions_Selenium2TestCase * @access public * @var browsers */ - public static $browsers = selenium_browsers(); + private static $browsers = SELENIUM_BROWSERS; /** * base URL for tests