Skip to content

Commit

Permalink
Clean up unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeymitr committed Mar 22, 2024
1 parent 6022f14 commit 80cef2c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1161,9 +1161,6 @@ public function test_test_connection_unauthenticated() {
$request = new WP_REST_Request( 'GET', '/jetpack/v4/test_connection' );
$request->set_header( 'Content-Type', 'application/json' );

$body = array( 'local_user' => static::$user_id );
$request->set_body( wp_json_encode( $body ) );

// Mock full connection established.
add_filter( 'jetpack_options', array( $this, 'mock_jetpack_options' ), 10, 2 );

Expand Down

0 comments on commit 80cef2c

Please sign in to comment.