From 4a3bf7029c7303259edc35b98e52bd7ee2e9182c Mon Sep 17 00:00:00 2001 From: Jeroen Sormani Date: Mon, 22 Dec 2014 13:34:09 +0100 Subject: [PATCH] Revert back to original wp_test_dir --- tests/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 61e14b9172e..6ad46b10f05 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -30,7 +30,7 @@ class WC_Unit_Tests_Bootstrap { $this->tests_dir = dirname( __FILE__ ); $this->plugin_dir = dirname( $this->tests_dir ); - $this->wp_tests_dir = getenv( 'WP_TESTS_DIR' ) ? getenv( 'WP_TESTS_DIR' ) : '/tmp/wordpress-tests-lib'; + $this->wp_tests_dir = getenv( 'WP_TESTS_DIR' ) ? getenv( 'WP_TESTS_DIR' ) : $this->test_dir . '/tmp/wordpress-tests-lib'; // load test function so tests_add_filter() is available require_once( $this->wp_tests_dir . '/includes/functions.php' );