Exemplo n.º 1
0
 /**
  * This method is called before each cest class test method
  *
  * @param AcceptanceTester $I
  */
 public function _before($I)
 {
     $postTypeFixture = new PostTypeFixture();
     $postTypeFixture->load();
     $taxonomyFixture = new TaxonomyFixture();
     $taxonomyFixture->load();
     $postTypeTaxonomyFixture = new PostTypeTaxonomyFixture();
     $postTypeTaxonomyFixture->load();
     $termFixture = new TermFixture();
     $termFixture->load();
     $postFixture = new PostFixture();
     $postFixture->load();
     $termRelationshipFixture = new TermRelationshipFixture();
     $termRelationshipFixture->load();
     $postCommentFixture = new PostCommentFixture();
     $postCommentFixture->load();
 }
Exemplo n.º 2
0
 /**
  * Load needed fixtures
  */
 protected function loadFixtures()
 {
     $postTypeFixture = new PostTypeFixture();
     $postTypeFixture->load();
     $taxonomyFixture = new TaxonomyFixture();
     $taxonomyFixture->load();
     $postTypeTaxonomyFixture = new PostTypeTaxonomyFixture();
     $postTypeTaxonomyFixture->load();
     $termFixture = new TermFixture();
     $termFixture->load();
     $postFixture = new PostFixture();
     $postFixture->load();
     $termRelationshipFixture = new TermRelationshipFixture();
     $termRelationshipFixture->load();
     $postCommentFixture = new PostCommentFixture();
     $postCommentFixture->load();
 }