Skip to content

Commit

Permalink
Fix a logic error
Browse files Browse the repository at this point in the history
  • Loading branch information
nylen committed May 9, 2017
1 parent b396229 commit 9e6b1ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpunit/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// See if we're installed inside an existing WP dev instance
if ( ! $_tests_dir ) {
$_try_tests_dir = __DIR__ . '/../../../../../tests/phpunit';
if ( file_exists( $_tests_dir ) . '/includes/functions.php' ) {
if ( file_exists( $_try_tests_dir . '/includes/functions.php' ) ) {
$_tests_dir = $_try_tests_dir;
}
}
Expand Down

0 comments on commit 9e6b1ef

Please sign in to comment.