From d45af62c61363c0d465bfb193c8a97fef3b68f22 Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Fri, 19 Apr 2019 16:12:08 +0200 Subject: [PATCH] Use correct number of `dirname()` calls to find the `vendor` folder --- features/bootstrap/FeatureContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/bootstrap/FeatureContext.php b/features/bootstrap/FeatureContext.php index 71e073ff9..decb3d380 100644 --- a/features/bootstrap/FeatureContext.php +++ b/features/bootstrap/FeatureContext.php @@ -15,7 +15,7 @@ function wpcli_bootstrap_behat_feature_context() { // wp-cli/wp-cli-tests is the root project. dirname( dirname( __DIR__ ) ) . '/vendor', // wp-cli/wp-cli-tests is a dependency. - dirname( dirname( dirname( __DIR__ ) ) ), + dirname( dirname( dirname( dirname( __DIR__ ) ) ) ), ]; $vendor_folder = '';