Move defines to dbi driver
This commit is contained in:
parent
2339dc144a
commit
7479822d23
@ -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);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -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'));
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user