Skip to content

Commit 9e45662

Browse files
committed
Tests should include a date.
1 parent 75b1c85 commit 9e45662

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/phpunit/tests/collaboration/wpCollaborationTableStorage.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ public function test_duplicate_awareness_rows_coalesces_on_latest_row() {
308308
'client_id' => '1',
309309
'user_id' => 1,
310310
'data' => wp_json_encode( array( 'name' => 'Stale' ) ),
311+
'date_gmt' => gmdate( 'Y-m-d H:i:s', time() ),
311312
),
312313
array( '%s', '%s', '%s', '%d', '%s' )
313314
);
@@ -320,6 +321,7 @@ public function test_duplicate_awareness_rows_coalesces_on_latest_row() {
320321
'client_id' => '1',
321322
'user_id' => 1,
322323
'data' => wp_json_encode( array( 'name' => 'Latest' ) ),
324+
'date_gmt' => gmdate( 'Y-m-d H:i:s', time() ),
323325
),
324326
array( '%s', '%s', '%s', '%d', '%s' )
325327
);

0 commit comments

Comments
 (0)