update unit test bootstrap for WC 4.2 (https://github.com/woocommerce/woocommerce-admin/pull/4312)
This commit is contained in:
parent
6fd251bfe4
commit
6720c17140
|
@ -52,6 +52,9 @@ function wc_admin_install() {
|
|||
*/
|
||||
function wc_test_includes() {
|
||||
$wc_tests_framework_base_dir = wc_dir() . '/tests';
|
||||
if ( ! is_dir( $wc_tests_framework_base_dir . '/framework' ) ) {
|
||||
$wc_tests_framework_base_dir .= '/legacy';
|
||||
}
|
||||
|
||||
// WooCommerce test classes.
|
||||
// Framework.
|
||||
|
|
Loading…
Reference in New Issue