Fix and adapt tests
This commit is contained in:
parent
23742c22c3
commit
ad284208ee
3 changed files with 30 additions and 30 deletions
|
@ -37,8 +37,15 @@ trait CreateDatabaseTrait
|
|||
use DatabaseTestTrait;
|
||||
use VFSTrait;
|
||||
|
||||
/** @var Database|null */
|
||||
protected $dba = null;
|
||||
|
||||
public function getDbInstance(): Database
|
||||
{
|
||||
if (isset($this->dba)) {
|
||||
return $this->dba;
|
||||
}
|
||||
|
||||
$configFileManager = new ConfigFileManager($this->root->url(), $this->root->url() . '/config/', $this->root->url() . '/static/');
|
||||
$config = new ReadOnlyFileConfig(new Cache([
|
||||
'database' => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue