Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 412-414 (lines=3) @@
409
		$name = __FUNCTION__;
410
411
		$status = new Status();
412
		if ( ! Jetpack::is_active() || $status->is_development_mode() || $status->is_staging_site() || ! $this->pass ) {
413
			return self::skipped_test( array( 'name' => $name ) );
414
		}
415
416
		add_filter( 'http_request_timeout', array( 'Jetpack_Cxn_Tests', 'increase_timeout' ) );
417
		$response = Client::wpcom_json_api_request_as_blog(
@@ 779-781 (lines=3) @@
776
		$name = 'test__wpcom_self_test';
777
778
		$status = new Status();
779
		if ( ! Jetpack::is_active() || $status->is_development_mode() || $status->is_staging_site() || ! $this->pass ) {
780
			return self::skipped_test( array( 'name' => $name ) );
781
		}
782
783
		$self_xml_rpc_url = site_url( 'xmlrpc.php' );
784