Tests: Revert the dirname( __FILE__ )
replacement in wp-tests-config-sample.php
for now, to avoid breaking unit tests created with WP-CLI scaffold
command.
Follow-up to [47198]. Props kaggdesign, danielbachhuber, bwmarkle. Fixes #48082, #49377. git-svn-id: https://develop.svn.wordpress.org/trunk@47201 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3096571047
commit
f91e983acb
@ -2,9 +2,9 @@
|
||||
|
||||
/* Path to the WordPress codebase you'd like to test. Add a forward slash in the end. */
|
||||
if ( defined( 'WP_RUN_CORE_TESTS' ) && WP_RUN_CORE_TESTS ) {
|
||||
define( 'ABSPATH', __DIR__ . '/build/' );
|
||||
define( 'ABSPATH', dirname( __FILE__ ) . '/build/' );
|
||||
} else {
|
||||
define( 'ABSPATH', __DIR__ . '/src/' );
|
||||
define( 'ABSPATH', dirname( __FILE__ ) . '/src/' );
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user