diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-06-29 00:00:36 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-06-29 00:00:36 +0300 |
commit | e99f3ace5c59e18c1fb3ef645a1b7bc25429d508 (patch) | |
tree | 953d720ff233911f5218ce865daec4665ed62d93 /test/bootstrap-dist.php | |
parent | 711ef54eca27fc20275d228b43de8314dd58bab6 (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.php | 3 |
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'); |