Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 524-526 (lines=3) @@
521
		$name = __FUNCTION__;
522
523
		$status = new Status();
524
		if ( ! Jetpack::is_active() || $status->is_offline_mode() || $status->is_staging_site() || ! $this->pass ) {
525
			return self::skipped_test( array( 'name' => $name ) );
526
		}
527
528
		add_filter( 'http_request_timeout', array( 'Jetpack_Cxn_Tests', 'increase_timeout' ) );
529
		$response = Client::wpcom_json_api_request_as_blog(
@@ 892-894 (lines=3) @@
889
		$name = 'test__wpcom_self_test';
890
891
		$status = new Status();
892
		if ( ! Jetpack::is_active() || $status->is_offline_mode() || $status->is_staging_site() || ! $this->pass ) {
893
			return self::skipped_test( array( 'name' => $name ) );
894
		}
895
896
		$self_xml_rpc_url = site_url( 'xmlrpc.php' );
897