Move defines to dbi driver

This commit is contained in:
Michal Čihař 2012-09-17 15:28:22 +02:00
parent 2339dc144a
commit 7479822d23
2 changed files with 4 additions and 3 deletions

View File

@ -29,8 +29,12 @@ $GLOBALS['dummy_queries'] = array(
*/
$GLOBALS['dummy_db'] = '';
/* Some basic setup for dummy driver */
$GLOBALS['userlink'] = 1;
$GLOBALS['cfg']['DBG']['sql'] = False;
if (! defined('PMA_DRIZZLE')) {
define('PMA_DRIZZLE', 0);
}
/**

View File

@ -31,9 +31,6 @@ class PMA_StorageEngine_test extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
if (! defined('PMA_DRIZZLE')) {
define('PMA_DRIZZLE', 0);
}
$this->object = $this->getMockForAbstractClass('PMA_StorageEngine', array('dummy'));
}