Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 369-371 (lines=3) @@
366
		$name = __FUNCTION__;
367
368
		$status = new Status();
369
		if ( ! Jetpack::is_active() || $status->is_development_mode() || $status->is_staging_site() || ! $this->pass ) {
370
			return self::skipped_test( array( 'name' => $name ) );
371
		}
372
373
		add_filter( 'http_request_timeout', array( 'Jetpack_Cxn_Tests', 'increase_timeout' ) );
374
		$response = Client::wpcom_json_api_request_as_blog(
@@ 691-693 (lines=3) @@
688
		$name = 'test__wpcom_self_test';
689
690
		$status = new Status();
691
		if ( ! Jetpack::is_active() || $status->is_development_mode() || $status->is_staging_site() || ! $this->pass ) {
692
			return self::skipped_test( array( 'name' => $name ) );
693
		}
694
695
		$self_xml_rpc_url = site_url( 'xmlrpc.php' );
696