Skip to content

Commit a76d0a0

Browse files
committed
update path
1 parent b3ac8b6 commit a76d0a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function _manually_load_plugin() {
3131
}
3232

3333
// Core started including their own phpunit6-compat, so we should use that if we can.
34-
if ( ! file_exists( '/tmp/wordpress-tests-lib/includes/phpunit6/compat.php' ) ) {
34+
if ( ! file_exists( $test_root . '/includes/phpunit6/compat.php' ) ) {
3535
// WordPress versions before 4.8 will be incompatible with newer PHPUnit versions.
3636
if ( version_compare( getenv( 'WP_VERSION' ), '4.8', '<' ) && class_exists( 'PHPUnit\Runner\Version' ) ) {
3737
require_once dirname( __FILE__ ) . '/phpunit6-compat.php';

0 commit comments

Comments
 (0)