Code Duplication    Length = 3-3 lines in 2 locations

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

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