Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 577-579 (lines=3) @@
574
		$name = __FUNCTION__;
575
576
		$status = new Status();
577
		if ( ! Jetpack::is_connection_ready() || $status->is_offline_mode() || $status->is_staging_site() || ! $this->pass ) {
578
			return self::skipped_test( array( 'name' => $name ) );
579
		}
580
581
		add_filter( 'http_request_timeout', array( 'Jetpack_Cxn_Tests', 'increase_timeout' ) );
582
		$response = Client::wpcom_json_api_request_as_blog(
@@ 945-947 (lines=3) @@
942
		$name = 'test__wpcom_self_test';
943
944
		$status = new Status();
945
		if ( ! Jetpack::is_connection_ready() || $status->is_offline_mode() || $status->is_staging_site() || ! $this->pass ) {
946
			return self::skipped_test( array( 'name' => $name ) );
947
		}
948
949
		$self_xml_rpc_url = site_url( 'xmlrpc.php' );
950