Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 555-557 (lines=3) @@
552
		$name = __FUNCTION__;
553
554
		$status = new Status();
555
		if ( ! Jetpack::is_connection_ready() || $status->is_offline_mode() || $status->is_staging_site() || ! $this->pass ) {
556
			return self::skipped_test( array( 'name' => $name ) );
557
		}
558
559
		add_filter( 'http_request_timeout', array( 'Jetpack_Cxn_Tests', 'increase_timeout' ) );
560
		$response = Client::wpcom_json_api_request_as_blog(
@@ 923-925 (lines=3) @@
920
		$name = 'test__wpcom_self_test';
921
922
		$status = new Status();
923
		if ( ! Jetpack::is_connection_ready() || $status->is_offline_mode() || $status->is_staging_site() || ! $this->pass ) {
924
			return self::skipped_test( array( 'name' => $name ) );
925
		}
926
927
		$self_xml_rpc_url = site_url( 'xmlrpc.php' );
928