Code Duplication    Length = 3-3 lines in 2 locations

projects/plugins/jetpack/tests/php/sync/test_class.jetpack-sync-full-immediately.php 1 location

@@ 276-278 (lines=3) @@
273
		$post_id = $this->factory->post->create();
274
275
		$terms = array();
276
		for ( $i = 0; $i < 25; $i += 1 ) {
277
			$terms[] = wp_insert_term( 'term ' . $i, 'category' );
278
		}
279
280
		// Sync the posts and terms first.
281
		$this->full_sync->start( array( 'posts' => true, 'terms' => true ) );

projects/plugins/jetpack/tests/php/sync/test_class.jetpack-sync-full.php 1 location

@@ 377-379 (lines=3) @@
374
		$post_id = $this->factory->post->create();
375
376
		$terms = array();
377
		for ( $i = 0; $i < 25; $i += 1 ) {
378
			$terms[] = wp_insert_term( 'term ' . $i, 'category' );
379
		}
380
381
		// Sync the posts and terms first.
382
		$this->full_sync->start( array( 'posts' => true, 'terms' => true ) );