diff --git a/projects/packages/connection/tests/php/test-rest-endpoints.php b/projects/packages/connection/tests/php/test-rest-endpoints.php index 3a735f13d7933..395b9b998278f 100644 --- a/projects/packages/connection/tests/php/test-rest-endpoints.php +++ b/projects/packages/connection/tests/php/test-rest-endpoints.php @@ -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 );