public function setUp() { parent::setUp(); $this->pages = array(); $this->pages[] = $this->factory->post->create(array('post_title' => 'Test page', 'post_type' => 'page')); }
public function tearDown() { parent::tearDown(); $this->delete_test_posts(); }