Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 367-369 (lines=3) @@
364
		$name = __FUNCTION__;
365
366
		$status = new Status();
367
		if ( ! Jetpack::is_active() || $status->is_development_mode() || $status->is_staging_site() || ! $this->pass ) {
368
			return self::skipped_test( array( 'name' => $name ) );
369
		}
370
371
		add_filter( 'http_request_timeout', array( 'Jetpack_Cxn_Tests', 'increase_timeout' ) );
372
		$response = Client::wpcom_json_api_request_as_blog(
@@ 625-627 (lines=3) @@
622
		$name = 'test__wpcom_self_test';
623
624
		$status = new Status();
625
		if ( ! Jetpack::is_active() || $status->is_development_mode() || $status->is_staging_site() || ! $this->pass ) {
626
			return self::skipped_test( array( 'name' => $name ) );
627
		}
628
629
		$self_xml_rpc_url = site_url( 'xmlrpc.php' );
630