We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3ac8b6 commit a76d0a0Copy full SHA for a76d0a0
tests/phpunit/bootstrap.php
@@ -31,7 +31,7 @@ function _manually_load_plugin() {
31
}
32
33
// 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' ) ) {
+if ( ! file_exists( $test_root . '/includes/phpunit6/compat.php' ) ) {
35
// WordPress versions before 4.8 will be incompatible with newer PHPUnit versions.
36
if ( version_compare( getenv( 'WP_VERSION' ), '4.8', '<' ) && class_exists( 'PHPUnit\Runner\Version' ) ) {
37
require_once dirname( __FILE__ ) . '/phpunit6-compat.php';
0 commit comments