Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Desportes <williamdes@wdes.fr>2020-05-21 14:35:25 +0300
committerWilliam Desportes <williamdes@wdes.fr>2020-05-21 14:35:36 +0300
commit3a49cb33bbddbdc506ff493364186f57d11baefd (patch)
tree260faf92844a9ffdbfaa44a220722032d07188c3 /test/bootstrap-dist.php
parentfe32a359dca1d0c522d8c8b7991974ef50469c22 (diff)
Move defining envs to defineTestingGlobals
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'test/bootstrap-dist.php')
-rw-r--r--test/bootstrap-dist.php28
1 files changed, 0 insertions, 28 deletions
diff --git a/test/bootstrap-dist.php b/test/bootstrap-dist.php
index 137cde2445..e48cc7d142 100644
--- a/test/bootstrap-dist.php
+++ b/test/bootstrap-dist.php
@@ -41,34 +41,6 @@ if (! defined('PHPMYADMIN')) {
}
// phpcs:enable
-// Selenium tests setup
-$test_defaults = [
- 'TESTSUITE_SERVER' => 'localhost',
- 'TESTSUITE_USER' => 'root',
- 'TESTSUITE_PASSWORD' => '',
- 'TESTSUITE_DATABASE' => 'test',
- 'TESTSUITE_PORT' => 3306,
- 'TESTSUITE_URL' => 'http://localhost/phpmyadmin/',
- 'TESTSUITE_SELENIUM_HOST' => '',
- 'TESTSUITE_SELENIUM_PORT' => '4444',
- 'TESTSUITE_SELENIUM_BROWSER' => 'firefox',
- 'TESTSUITE_SELENIUM_COVERAGE' => '',
- 'TESTSUITE_BROWSERSTACK_USER' => '',
- 'TESTSUITE_BROWSERSTACK_KEY' => '',
- 'TESTSUITE_FULL' => '',
- 'CI_MODE' => '',
-];
-if (PHP_SAPI == 'cli') {
- foreach ($test_defaults as $varname => $defvalue) {
- $envvar = getenv($varname);
- if ($envvar) {
- $GLOBALS[$varname] = $envvar;
- } else {
- $GLOBALS[$varname] = $defvalue;
- }
- }
-}
-
require_once ROOT_PATH . 'libraries/vendor_config.php';
require_once AUTOLOAD_FILE;
Loader::loadFunctions();