Ejemplo n.º 1
0
 /**
  * Set up
  */
 public function setUp()
 {
     $this->setApplicationConfig(include 'config/application.config.php');
     $this->setTraceError(true);
     parent::setUp();
     $this->setupAdmin();
 }
Ejemplo n.º 2
0
 /**
  * Set up
  */
 public function setUp()
 {
     $this->setApplicationConfig(include 'config/application.config.php');
     $this->setTraceError(true);
     $this->imageService = $this->getApplicationServiceLocator()->get('Media\\Service\\Image');
     parent::setUp();
 }
Ejemplo n.º 3
0
 /**
  * Set up
  */
 public function setUp()
 {
     $this->setApplicationConfig(include 'config/application.config.php');
     $this->setTraceError(true);
     parent::setUp();
     $this->setupAdmin();
     $this->user = $this->createUser($this->anotherUser);
     $this->commentService = $this->getApplicationServiceLocator()->get('Comment\\Service\\Comment');
 }
Ejemplo n.º 4
0
 /**
  * Set up
  */
 public function setUp()
 {
     $this->setApplicationConfig(include 'config/application.config.php');
     $this->setTraceError(true);
     parent::setUp();
     $this->setupAdmin();
     $this->user = $this->createUser($this->anotherUser);
     $entityType = array('alias' => 'user', 'entity' => 'User\\Entity\\User', 'isEnabled' => 1, 'isVisible' => 1, 'description' => 'description');
     $this->entityType = $this->createEntityType($entityType);
     $this->commentService = $this->getApplicationServiceLocator()->get('Comment\\Service\\Comment');
 }
Ejemplo n.º 5
0
 /**
  * @throws \User\Exception\AuthException
  */
 protected function setUp()
 {
     $this->setApplicationConfig(include 'config/application.config.php');
     parent::setUp();
 }