Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 226-228 (lines=3) @@
223
	protected function test__wpcom_connection_test() {
224
		$name = __FUNCTION__;
225
226
		if ( ! Jetpack::is_active() || Jetpack::is_development_mode() || Jetpack::is_staging_site() || ! $this->pass ) {
227
			return self::skipped_test( $name );
228
		}
229
230
		$response = Client::wpcom_json_api_request_as_blog(
231
			sprintf( '/jetpack-blogs/%d/test-connection', Jetpack_Options::get_option( 'id' ) ),
@@ 329-331 (lines=3) @@
326
	 */
327
	protected function last__wpcom_self_test() {
328
		$name = 'test__wpcom_self_test';
329
		if ( ! Jetpack::is_active() || Jetpack::is_development_mode() || Jetpack::is_staging_site() || ! $this->pass ) {
330
			return self::skipped_test( $name );
331
		}
332
333
		$self_xml_rpc_url = site_url( 'xmlrpc.php' );
334