From 427d3141b7b6331f813030b402050bd04e79eb4e Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Fri, 23 Sep 2016 05:25:03 -0700 Subject: [PATCH] Ensure `ProcessRun` is loaded as a part of the test suite bootstrap --- features/bootstrap/FeatureContext.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/bootstrap/FeatureContext.php b/features/bootstrap/FeatureContext.php index b4a186e677..c9846ae4c4 100644 --- a/features/bootstrap/FeatureContext.php +++ b/features/bootstrap/FeatureContext.php @@ -12,6 +12,7 @@ if ( file_exists( __DIR__ . '/utils.php' ) ) { require_once __DIR__ . '/utils.php'; require_once __DIR__ . '/Process.php'; + require_once __DIR__ . '/ProcessRun.php'; $project_composer = dirname( dirname( dirname( __FILE__ ) ) ) . '/composer.json'; if ( file_exists( $project_composer ) ) { $composer = json_decode( file_get_contents( $project_composer ) ); @@ -30,6 +31,7 @@ } else { require_once __DIR__ . '/../../php/utils.php'; require_once __DIR__ . '/../../php/WP_CLI/Process.php'; + require_once __DIR__ . '/../../php/WP_CLI/ProcessRun.php'; require_once __DIR__ . '/../../vendor/autoload.php'; }