public function setUp() { parent::setup(); $this->serviceManager = Bootstrap::getServiceManager(); $this->em = $this->serviceManager->get('Doctrine\\ORM\\EntityManager'); $this->negocio = new AnexoNegocio($this->em); }
public function setUp() { $this->setApplicationConfig(Bootstrap::getConfig()); parent::setUp(); $this->repository = $this->getApplicationServiceLocator()->get('repositories')->get('Jobs/Job'); $this->dm = $this->getApplicationServiceLocator()->get('doctrine.documentmanager.odm_default'); $this->initOrganization(); $this->initJob(); }
public function setUp() { parent::setUp(); $this->setApplicationConfig(Bootstrap::getConfig()); }
public function setUp() { $this->setUseConsoleRequest(true); $this->setApplicationConfig(include __DIR__ . '/../../TestConfig.php.dist'); parent::setUp(); }
public function setUp() { $this->setApplicationConfig(include __DIR__ . '/../../../../../config/application.config.php'); parent::setUp(); }
public function setUp() { $this->setApplicationConfig(include __DIR__ . '/../TestConfiguration.php'); parent::setUp(); }