Esempio n. 1
0
 public function setUp()
 {
     parent::setUp();
     $this->register_post_types();
 }
 public function tearDown()
 {
     parent::tearDown();
     // reset
     set_current_screen('front');
 }
 public function setUp()
 {
     parent::setUp();
     require_once dirname(dirname(dirname(__FILE__))) . '/vendor/autoload.php';
 }