This commit is contained in:
Ron Rennick 2020-05-13 09:56:05 -03:00 committed by GitHub
parent 6fd251bfe4
commit 6720c17140
1 changed files with 3 additions and 0 deletions

View File

@ -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.