protected function teardown()
 {
     $config = ConfigProvider::getInstance();
     $config->set('app.root', '');
     $config->set('app.file.store.dir', '/tmp/');
     parent::teardown();
 }
 /**
  * {@inheritdoc}
  *
  * @since 2.0
  */
 protected function tearDown()
 {
     parent::tearDown();
     $article = new Article();
     $article->dropTable();
     $articleComment = new ArticleComment();
     $articleComment->dropTable();
 }
 /**
  * Set up tests.
  *
  * @since 2.0
  */
 protected function setUp()
 {
     parent::setUp();
     $denum = new DEnum();
     $denum->rebuildTable();
     $item = new DEnumItem();
     $item->rebuildTable();
     $this->denum = new DEnum('Article::section');
     $item->set('DEnumID', $this->denum->getOID());
     $item->set('value', 'Test');
     $item->save();
 }
 /**
  * Set up tests.
  *
  * @since 2.0
  */
 protected function setUp()
 {
     parent::setUp();
     $tag = new Tag();
     $tag->rebuildTable();
     $denum = new DEnum();
     $denum->rebuildTable();
     $item = new DEnumItem();
     $item->rebuildTable();
     $article = new Article();
     $article->rebuildTable();
     $denum = new DEnum('Alpha\\Model\\Article::section');
     $item->set('DEnumID', $denum->getOID());
     $item->set('value', 'Test');
     $item->save();
     $this->DEnumID = $denum->getOID();
     $this->article = $this->createArticle('unitTestArticle');
 }