/** * Set up the test */ public function setUp() { parent::setUp(); $this->siteId = (string) microtime(true); $this->nodeRepository = static::$kernel->getContainer()->get('open_orchestra_model.repository.node'); $this->siteRepository = static::$kernel->getContainer()->get('open_orchestra_model.repository.site'); }
/** * Set up the test */ public function setUp() { parent::setUp(); $this->nodeRepository = static::$kernel->getContainer()->get('open_orchestra_model.repository.node'); $this->redirectionRepository = static::$kernel->getContainer()->get('open_orchestra_model.repository.redirection'); $this->routeDocumentRepository = static::$kernel->getContainer()->get('open_orchestra_model.repository.route_document'); $this->documentManager = static::$kernel->getContainer()->get('object_manager'); }
/** * Set up the test */ public function setUp() { parent::setUp(); $this->contentTypeRepository = static::$kernel->getContainer()->get('open_orchestra_model.repository.content_type'); }
/** * Set up the test */ public function setUp() { parent::setUp(); $mediaRepository = static::$kernel->getContainer()->get('open_orchestra_media.repository.media'); $this->media = $mediaRepository->findOneByName('logo Open-Orchestra'); }