コード例 #1
0
 protected function tearDown()
 {
     Monkey::setUpWP();
     parent::tearDown();
 }
コード例 #2
0
 /**
  * Sets up the fixture, for example, open a network connection.
  * This method is called before a test is executed.
  */
 protected function setUp()
 {
     parent::setUp();
     Brain\Monkey::setUpWP();
 }
コード例 #3
0
 /**
  * Sets up Brain Monkey beforr testing WordPress-related code.
  *
  * @return void
  */
 public function setUp()
 {
     Monkey::setUpWP();
 }
コード例 #4
0
 public function setUp()
 {
     parent::setUp();
     Monkey::setUpWP();
 }