/** * @return void */ public function setUp() { parent::setUp(); if (!$this->persistenceManager instanceof PersistenceManager) { $this->markTestSkipped('Doctrine persistence is not enabled'); } $this->tagRepository = $this->objectManager->get(TagRepository::class); }
/** * @return void */ public function setUp() { parent::setUp(); if (!$this->persistenceManager instanceof PersistenceManager) { $this->markTestSkipped('Doctrine persistence is not enabled'); } $this->prepareTemporaryDirectory(); $this->prepareResourceManager(); $this->assetRepository = $this->objectManager->get(AssetRepository::class); $this->tagRepository = $this->objectManager->get(TagRepository::class); }