Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 222-224 (lines=3) @@
219
	protected function test__wpcom_connection_test() {
220
		$name = __FUNCTION__;
221
222
		if ( ! Jetpack::is_active() || Jetpack::is_development_mode() || Jetpack::is_staging_site() || ! $this->pass ) {
223
			return self::skipped_test( $name );
224
		}
225
226
		$response = Jetpack_Client::wpcom_json_api_request_as_blog(
227
			sprintf( '/jetpack-blogs/%d/test-connection', Jetpack_Options::get_option( 'id' ) ),
@@ 318-320 (lines=3) @@
315
	 */
316
	protected function last__wpcom_self_test() {
317
		$name = 'test__wpcom_self_test';
318
		if ( ! Jetpack::is_active() || Jetpack::is_development_mode() || Jetpack::is_staging_site() || ! $this->pass ) {
319
			return self::skipped_test( $name );
320
		}
321
322
		$self_xml_rpc_url = site_url( 'xmlrpc.php' );
323