Skip to content

Commit

Permalink
Not loading the mock feature support when testing with Jetpack.
Browse files Browse the repository at this point in the history
  • Loading branch information
zinigor committed Jun 11, 2024
1 parent ac34fb5 commit 1319950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/plugins/jetpack/tests/php/lib/mock-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function has_blog_sticker( $sticker ) {
function wp_cache_is_enabled() {}
}

if ( ! function_exists( 'wpcom_site_has_feature' ) ) {
if ( ! function_exists( 'wpcom_site_has_feature' ) && false === getenv( 'WITH_WPCOMSH' ) ) {
/**
* Mock feature support.
*
Expand Down

0 comments on commit 1319950

Please sign in to comment.