projects/plugins/jetpack/tests/php/sync/test_class.jetpack-sync-full-immediately.php 1 location
|
@@ 338-340 (lines=3) @@
|
335 |
|
} |
336 |
|
|
337 |
|
function test_full_sync_sends_previous_interval_end_for_users() { |
338 |
|
for ( $i = 0; $i < 45; $i += 1 ) { |
339 |
|
$user_ids[] = $this->factory->user->create(); |
340 |
|
} |
341 |
|
|
342 |
|
// The first event is for full sync start. |
343 |
|
$this->full_sync->start( array( 'users' => true ) ); |
projects/plugins/jetpack/tests/php/sync/test_class.jetpack-sync-full.php 1 location
|
@@ 472-474 (lines=3) @@
|
469 |
|
function test_full_sync_sends_previous_interval_end_for_users() { |
470 |
|
Settings::update_settings( array( 'max_queue_size_full_sync' => 1, 'max_enqueue_full_sync' => 10 ) ); |
471 |
|
|
472 |
|
for ( $i = 0; $i < 45; $i += 1 ) { |
473 |
|
$user_ids[] = $this->factory->user->create(); |
474 |
|
} |
475 |
|
|
476 |
|
// The first event is for full sync start. |
477 |
|
$this->full_sync->start( array( 'users' => true ) ); |