* Adjusting export object in PluginExport to export databases with compress Signed-off-by: Rodrigo Pokemaobr <contato@pokemaobr.dev> * Adjusting dbi in tests and psalm requisites Signed-off-by: Rodrigo Pokemaobr <contato@pokemaobr.dev> * Adjusting dbi in tests and psalm requisites Signed-off-by: Rodrigo Pokemaobr <contato@pokemaobr.dev> * Adjusting dbi in tests and psalm requisites Signed-off-by: Rodrigo Pokemaobr <contato@pokemaobr.dev>
This commit is contained in:
parent
4d1d015846
commit
518a37d23f
@ -39,13 +39,14 @@ abstract class ExportPlugin implements Plugin
|
||||
/** @var Transformations */
|
||||
protected $transformations;
|
||||
|
||||
/**
|
||||
* @psalm-suppress InvalidArrayOffset, MixedAssignment, MixedMethodCall
|
||||
*/
|
||||
final public function __construct()
|
||||
{
|
||||
global $dbi;
|
||||
|
||||
$this->relation = new Relation($dbi);
|
||||
$this->export = new Export($dbi);
|
||||
$this->transformations = new Transformations();
|
||||
$this->relation = $GLOBALS['containerBuilder']->get('relation');
|
||||
$this->export = $GLOBALS['containerBuilder']->get('export');
|
||||
$this->transformations = $GLOBALS['containerBuilder']->get('transformations');
|
||||
$this->init();
|
||||
$this->properties = $this->setProperties();
|
||||
}
|
||||
|
||||
@ -89,6 +89,7 @@ abstract class AbstractTestCase extends TestCase
|
||||
$this->setGlobalConfig();
|
||||
$this->loadContainerBuilder();
|
||||
$this->setGlobalDbi();
|
||||
$this->loadDbiIntoContainerBuilder();
|
||||
Cache::purge();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user