Skip to content

Instantly share code, notes, and snippets.

@paulgibbs
Last active December 16, 2015 04:19
Show Gist options
  • Save paulgibbs/5375941 to your computer and use it in GitHub Desktop.
Save paulgibbs/5375941 to your computer and use it in GitHub Desktop.
<?php
require_once getenv( 'WP_TESTS_DIR' ) . '/includes/functions.php';
function _install_and_load_liveblog() {
require dirname( __FILE__ ) . '/../liveblog.php';
}
tests_add_filter( 'muplugins_loaded', '_install_and_load_liveblog' );
require getenv( 'WP_TESTS_DIR' ) . '/includes/bootstrap.php';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment