mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Build/Tests: Default to running unit tests from src.
This is the actual commit, unlike [44508], which was not. Props atimmer. See #44492. Fixes #45863. git-svn-id: https://develop.svn.wordpress.org/trunk@44509 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
<?php
|
||||
|
||||
/* 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', dirname( __FILE__ ) . '/build/' );
|
||||
} else {
|
||||
define( 'ABSPATH', dirname( __FILE__ ) . '/src/' );
|
||||
}
|
||||
define( 'ABSPATH', dirname( __FILE__ ) . '/src/' );
|
||||
|
||||
/*
|
||||
* Path to the theme to test with.
|
||||
|
||||
Reference in New Issue
Block a user