Example #1
0
 function __construct()
 {
     parent::__construct();
     // For tests, we're not using https.
     add_filter('solr_scheme', function () {
         return 'http';
     });
 }
 function __construct()
 {
     parent::__construct();
     // For tests, we're not using https.
     add_filter('solr_scheme', function () {
         return 'http';
     });
     SolrPower_Options::get_instance()->initalize_options();
 }
Example #3
0
 /**
  * Constructor function
  */
 public function __construct()
 {
     parent::__construct();
     include_once 'factory/Sensei-Factory.php';
 }
 /**
  * WP_Test_Jetpack_Display_Posts_Widget constructor.
  */
 function __construct()
 {
     parent::__construct();
     $this->inst = new Jetpack_Display_Posts_Widget();
     remove_action('shutdown', 'jetpack_display_posts_conditionally_set_cron_run_status');
 }