Skip to content

Commit

Permalink
Don't rely on unrelated tests to include dependencies
Browse files Browse the repository at this point in the history
Props @anomiex
  • Loading branch information
obenland committed Nov 16, 2021
1 parent 4bf7224 commit df8aecf
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?php

require_once dirname( dirname( __DIR__ ) ) . '/lib/class-wp-test-jetpack-rest-testcase.php';
if ( ( ! defined( 'IS_WPCOM' ) || ! IS_WPCOM ) && defined( 'JETPACK__PLUGIN_DIR' ) && JETPACK__PLUGIN_DIR ) {
require_jetpack_file( 'modules/subscriptions.php' );
}

/**
* @group publicize
Expand Down

0 comments on commit df8aecf

Please sign in to comment.