Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 457-459 (lines=3) @@
454
		$name = __FUNCTION__;
455
456
		$status = new Status();
457
		if ( ! Jetpack::is_active() || $status->is_offline_mode() || $status->is_staging_site() || ! $this->pass ) {
458
			return self::skipped_test( array( 'name' => $name ) );
459
		}
460
461
		add_filter( 'http_request_timeout', array( 'Jetpack_Cxn_Tests', 'increase_timeout' ) );
462
		$response = Client::wpcom_json_api_request_as_blog(
@@ 824-826 (lines=3) @@
821
		$name = 'test__wpcom_self_test';
822
823
		$status = new Status();
824
		if ( ! Jetpack::is_active() || $status->is_offline_mode() || $status->is_staging_site() || ! $this->pass ) {
825
			return self::skipped_test( array( 'name' => $name ) );
826
		}
827
828
		$self_xml_rpc_url = site_url( 'xmlrpc.php' );
829