From 80cef2ca53d7efdafc67c5419ec9d5f9e2c9b6db Mon Sep 17 00:00:00 2001 From: sergeymitr Date: Fri, 22 Mar 2024 16:57:06 -0400 Subject: [PATCH] Clean up unit tests. --- projects/packages/connection/tests/php/test-rest-endpoints.php | 3 --- 1 file changed, 3 deletions(-) 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 );