You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-31 10:54:46 +03:00
Add PhpMyAdmin\Tests namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
This commit is contained in:
@@ -6,13 +6,12 @@
|
||||
* @package PhpMyAdmin-test
|
||||
*/
|
||||
|
||||
use PhpMyAdmin\Di\Container;
|
||||
use PhpMyAdmin\Theme;
|
||||
use PhpMyAdmin\Charsets;
|
||||
use PhpMyAdmin\Di\Container;
|
||||
use PhpMyAdmin\Tests\Stubs\Response as ResponseStub;
|
||||
use PhpMyAdmin\Theme;
|
||||
|
||||
require_once 'libraries/database_interface.inc.php';
|
||||
|
||||
require_once 'test/libraries/stubs/ResponseStub.php';
|
||||
require_once 'test/PMATestCase.php';
|
||||
|
||||
/**
|
||||
@@ -50,7 +49,7 @@ class ServerDatabasesControllerTest extends PMATestCase
|
||||
|
||||
$container = Container::getDefaultContainer();
|
||||
$container->set('dbi', $GLOBALS['dbi']);
|
||||
$this->response = new \PMA\Test\Stubs\Response();
|
||||
$this->response = new ResponseStub();
|
||||
$container->set('PhpMyAdmin\Response', $this->response);
|
||||
$container->alias('response', 'PhpMyAdmin\Response');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user