File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -486,6 +486,7 @@ public function it_adds_a_task_name_based_on_the_display_name()
486
486
{
487
487
// Arrange
488
488
CloudTasksApi::fake ();
489
+ $ this ->travelTo ('2023-06-01 20:02:37 ' );
489
490
490
491
// Act
491
492
$ this ->dispatch ((new SimpleJob ()));
@@ -494,7 +495,7 @@ public function it_adds_a_task_name_based_on_the_display_name()
494
495
CloudTasksApi::assertTaskCreated (function (Task $ task , string $ queueName ): bool {
495
496
$ uuid = \Safe \json_decode ($ task ->getHttpRequest ()->getBody (), true )['uuid ' ];
496
497
497
- return $ task ->getName () === 'projects/my-test-project/locations/europe-west6/queues/barbequeue/tasks/Tests-Support-SimpleJob- ' . $ uuid ;
498
+ return $ task ->getName () === 'projects/my-test-project/locations/europe-west6/queues/barbequeue/tasks/Tests-Support-SimpleJob- ' . $ uuid . ' -1685649757 ' ;
498
499
});
499
500
}
500
501
}
You can’t perform that action at this time.
0 commit comments