From b629bce0939d419f2bb0334abbd1c628aa4e6068 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sun, 27 Sep 2020 14:18:43 -0700 Subject: [PATCH] =?UTF-8?q?Second=20argument=20to=20`dirname()`=20came=20i?= =?UTF-8?q?n=207.0.=20We're=20nearly=20there.=20=F0=9F=A4=A6=E2=80=8D?= =?UTF-8?q?=E2=99=82=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 89f2bd9..7dc0c88 100755 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -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' ); -- GitLab