Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 366-368 (lines=3) @@
363
		$name = __FUNCTION__;
364
365
		$status = new Status();
366
		if ( ! Jetpack::is_active() || $status->is_development_mode() || $status->is_staging_site() || ! $this->pass ) {
367
			return self::skipped_test( array( 'name' => $name ) );
368
		}
369
370
		add_filter( 'http_request_timeout', array( 'Jetpack_Cxn_Tests', 'increase_timeout' ) );
371
		$response = Client::wpcom_json_api_request_as_blog(
@@ 598-600 (lines=3) @@
595
		$name = 'test__wpcom_self_test';
596
597
		$status = new Status();
598
		if ( ! Jetpack::is_active() || $status->is_development_mode() || $status->is_staging_site() || ! $this->pass ) {
599
			return self::skipped_test( array( 'name' => $name ) );
600
		}
601
602
		$self_xml_rpc_url = site_url( 'xmlrpc.php' );
603