Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 507-509 (lines=3) @@
504
		$name = __FUNCTION__;
505
506
		$status = new Status();
507
		if ( ! Jetpack::is_active() || $status->is_offline_mode() || $status->is_staging_site() || ! $this->pass ) {
508
			return self::skipped_test( array( 'name' => $name ) );
509
		}
510
511
		add_filter( 'http_request_timeout', array( 'Jetpack_Cxn_Tests', 'increase_timeout' ) );
512
		$response = Client::wpcom_json_api_request_as_blog(
@@ 873-875 (lines=3) @@
870
		$name = 'test__wpcom_self_test';
871
872
		$status = new Status();
873
		if ( ! Jetpack::is_active() || $status->is_offline_mode() || $status->is_staging_site() || ! $this->pass ) {
874
			return self::skipped_test( array( 'name' => $name ) );
875
		}
876
877
		$self_xml_rpc_url = site_url( 'xmlrpc.php' );
878