Example #1
0
 /**
  * Clean up after each test. Reset our mocks
  *
  * @since 0.1.0
  */
 public function tearDown()
 {
     parent::tearDown();
     //make sure no one attached to this
     remove_filter('ep_sync_terms_allow_hierarchy', array($this, 'ep_allow_multiple_level_terms_sync'), 100);
     $this->fired_actions = array();
 }
Example #2
0
 /**
  * Clean up after each test. Reset our mocks
  *
  * @since 0.1.0
  */
 public function tearDown()
 {
     parent::tearDown();
     $this->fired_actions = array();
     $sites = ep_get_sites();
     $indexes = array();
     foreach ($sites as $site) {
         switch_to_blog($site['blog_id']);
         ep_delete_index();
         restore_current_blog();
     }
     ep_delete_network_alias();
 }
 /**
  * Clean up after each test. Reset our mocks
  *
  * @since 0.1.0
  */
 public function tearDown()
 {
     parent::tearDown();
     $this->fired_actions = array();
 }