Created
April 17, 2019 07:03
-
-
Save paulgibbs/a2f46643ab65fd93bd4359150cd2585b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Hello World. | |
*/ | |
namespace HelloWorld; | |
$_tests_dir = getenv( 'WP_TESTS_DIR' ) ?: getenv( 'WP_PHPUNIT__DIR' ); | |
require_once $_tests_dir . '/includes/functions.php'; | |
tests_add_filter( 'muplugins_loaded', function() use ( $_root_dir ) { | |
// Do things... | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment