|
|
@ -12,6 +12,7 @@ abstract class DatabaseTestCase extends TestCase |
|
|
|
protected function setUp() |
|
|
|
protected function setUp() |
|
|
|
{ |
|
|
|
{ |
|
|
|
parent::setUp(); |
|
|
|
parent::setUp(); |
|
|
|
|
|
|
|
$this->mockApplication(); |
|
|
|
$databases = $this->getParam('databases'); |
|
|
|
$databases = $this->getParam('databases'); |
|
|
|
$this->database = $databases[$this->driverName]; |
|
|
|
$this->database = $databases[$this->driverName]; |
|
|
|
$pdo_database = 'pdo_'.$this->driverName; |
|
|
|
$pdo_database = 'pdo_'.$this->driverName; |
|
|
|