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:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2019-06-29 00:00:36 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2019-06-29 00:00:36 +0300
commite99f3ace5c59e18c1fb3ef645a1b7bc25429d508 (patch)
tree953d720ff233911f5218ce865daec4665ed62d93 /test/bootstrap-dist.php
parent711ef54eca27fc20275d228b43de8314dd58bab6 (diff)
Move DbiDummy extension to the test directory
DbiDummy extension is only used for testing purposes Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'test/bootstrap-dist.php')
-rw-r--r--test/bootstrap-dist.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/bootstrap-dist.php b/test/bootstrap-dist.php
index 34901a50b9..b49e46a8ed 100644
--- a/test/bootstrap-dist.php
+++ b/test/bootstrap-dist.php
@@ -9,6 +9,7 @@ declare(strict_types=1);
use PhpMyAdmin\Config;
use PhpMyAdmin\DatabaseInterface;
+use PhpMyAdmin\Tests\Stubs\DbiDummy;
use PhpMyAdmin\LanguageManager;
use PhpMyAdmin\MoTranslator\Loader;
use PhpMyAdmin\Theme;
@@ -79,7 +80,7 @@ define('PMA_MAJOR_VERSION', $GLOBALS['PMA_Config']->get('PMA_MAJOR_VERSION'));
LanguageManager::getInstance()->getLanguage('en')->activate();
/* Load Database interface */
-$GLOBALS['dbi'] = DatabaseInterface::load();
+$GLOBALS['dbi'] = DatabaseInterface::load(new DbiDummy());
// Set proxy information from env, if available
$http_proxy = getenv('http_proxy');