Code Duplication    Length = 3-3 lines in 2 locations

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

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