diff options
author | Gary Pendergast <pento@git.wordpress.org> | 2019-01-09 11:13:03 +0000 |
---|---|---|
committer | Gary Pendergast <pento@git.wordpress.org> | 2019-01-09 11:13:03 +0000 |
commit | 916695bd78e1ca0026afff2283a824840fd043e5 (patch) | |
tree | eb57eeb5188c0a8158cec06ab718823d7da59066 /wp-tests-config-sample.php | |
parent | a5594e7b07ae19eb68431b911929bad74755007c (diff) | |
download | wordpress-916695bd78e1ca0026afff2283a824840fd043e5.tar.gz wordpress-916695bd78e1ca0026afff2283a824840fd043e5.zip |
Tests: Revert [44509].
This commit causes Travis to fail.
See #45863.
git-svn-id: https://develop.svn.wordpress.org/trunk@44512 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'wp-tests-config-sample.php')
-rw-r--r-- | wp-tests-config-sample.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/wp-tests-config-sample.php b/wp-tests-config-sample.php index 5368d89e1e..2f6c515912 100644 --- a/wp-tests-config-sample.php +++ b/wp-tests-config-sample.php @@ -1,7 +1,11 @@ <?php /* Path to the WordPress codebase you'd like to test. Add a forward slash in the end. */ -define( 'ABSPATH', dirname( __FILE__ ) . '/src/' ); +if ( defined( 'WP_RUN_CORE_TESTS' ) && WP_RUN_CORE_TESTS ) { + define( 'ABSPATH', dirname( __FILE__ ) . '/build/' ); +} else { + define( 'ABSPATH', dirname( __FILE__ ) . '/src/' ); +} /* * Path to the theme to test with. |