Commit b629bce0 authored by Erick Hitter's avatar Erick Hitter
Browse files

Second argument to `dirname()` came in 7.0. We're nearly there. 🤦‍♂️

parent 4417991f
Pipeline #2918 failed with stages
in 2 minutes and 38 seconds
......@@ -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' );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment