Skip to content
Snippets Groups Projects
Commit b629bce0 authored by Erick Hitter's avatar Erick Hitter
Browse files

Second argument to `dirname()` came in 7.0. We're nearly there. :man_facepalming:

parent 4417991f
Branches
Tags v0.0.1
1 merge request!14Bump WP compatibility
Pipeline #2918 failed
......@@ -23,7 +23,7 @@ require_once $_tests_dir . '/includes/functions.php';
* Manually load the plugin being tested.
*/
function _manually_load_plugin() {
require dirname( __FILE__, 2 ) . '/view-all-posts-pages.php';
require dirname( dirname( __FILE__ ) ) . '/view-all-posts-pages.php';
}
tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment