Skip to content

Commit

Permalink
Fixed phpunit tests include folder path.
Browse files Browse the repository at this point in the history
  • Loading branch information
zinigor committed Jun 11, 2024
1 parent fece2ca commit 2be3f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/plugins/wpcomsh/tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

if ( ! $_tests_dir ) {
if ( $wp_branch ) {
$_tests_dir = '/tmp/wordpress-' . $wp_branch;
$_tests_dir = '/tmp/wordpress-' . $wp_branch . '/tests/phpunit';
} else {
$_tests_dir = rtrim( sys_get_temp_dir(), '/\\' ) . '/wordpress-tests-lib';
}
Expand Down

0 comments on commit 2be3f17

Please sign in to comment.