Permalink
Browse files

Update test paths.

  • Loading branch information...
1 parent fba328d commit f6e5a721f9eebc88b60f95a34e18bc41fa403f82 @JustinSainton JustinSainton committed May 28, 2016
Showing with 2 additions and 4 deletions.
  1. +2 −4 tests/bootstrap.php
View
@@ -4,15 +4,13 @@
$_tests_dir = getenv('WP_TESTS_DIR');
if ( !$_tests_dir ) $_tests_dir = '/tmp/wordpress-tests-lib';
-
-require_once $_tests_dir . '/includes/functions.php';
+require_once $_tests_dir . 'includes/functions.php';
function _manually_load_plugin() {
require dirname( __FILE__ ) . '/../wp-shopping-cart.php';
}
tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' );
ob_start();
-require $_tests_dir . '/includes/bootstrap.php';
+require $_tests_dir . 'includes/bootstrap.php';
ob_end_clean();
-

0 comments on commit f6e5a72

Please sign in to comment.