Code Duplication    Length = 3-3 lines in 2 locations

projects/plugins/jetpack/_inc/lib/debugger/class-jetpack-cxn-tests.php 2 locations

@@ 563-565 (lines=3) @@
560
		$name = __FUNCTION__;
561
562
		$status = new Status();
563
		if ( ! Jetpack::is_connection_ready() || $status->is_offline_mode() || $status->is_staging_site() || ! $this->pass ) {
564
			return self::skipped_test( array( 'name' => $name ) );
565
		}
566
567
		add_filter( 'http_request_timeout', array( 'Jetpack_Cxn_Tests', 'increase_timeout' ) );
568
		$response = Client::wpcom_json_api_request_as_blog(
@@ 931-933 (lines=3) @@
928
		$name = 'test__wpcom_self_test';
929
930
		$status = new Status();
931
		if ( ! Jetpack::is_connection_ready() || $status->is_offline_mode() || $status->is_staging_site() || ! $this->pass ) {
932
			return self::skipped_test( array( 'name' => $name ) );
933
		}
934
935
		$self_xml_rpc_url = site_url( 'xmlrpc.php' );
936