Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 240-242 (lines=3) @@
237
	protected function test__wpcom_connection_test() {
238
		$name = __FUNCTION__;
239
240
		if ( ! Jetpack::is_active() || ( new Status() )->is_development_mode() || Jetpack::is_staging_site() || ! $this->pass ) {
241
			return self::skipped_test( $name );
242
		}
243
244
		add_filter( 'http_request_timeout', array( 'Jetpack_Cxn_Tests', 'increase_timeout' ) );
245
		$response = Client::wpcom_json_api_request_as_blog(
@@ 346-348 (lines=3) @@
343
	protected function last__wpcom_self_test() {
344
		$name = 'test__wpcom_self_test';
345
346
		if ( ! Jetpack::is_active() || ( new Status() )->is_development_mode() || Jetpack::is_staging_site() || ! $this->pass ) {
347
			return self::skipped_test( $name );
348
		}
349
350
		$self_xml_rpc_url = site_url( 'xmlrpc.php' );
351