diff --git a/src/Bundle/ChillDocStoreBundle/Tests/Service/StoredObjectManagerTest.php b/src/Bundle/ChillDocStoreBundle/Tests/Service/StoredObjectManagerTest.php index e09a2dc1e..39412b9f7 100644 --- a/src/Bundle/ChillDocStoreBundle/Tests/Service/StoredObjectManagerTest.php +++ b/src/Bundle/ChillDocStoreBundle/Tests/Service/StoredObjectManagerTest.php @@ -220,7 +220,8 @@ final class StoredObjectManagerTest extends TestCase ->willReturnCallback(fn (string $method, string $objectName) => new SignedUrl( $method, 'https://example.com/'.$objectName, - new \DateTimeImmutable('1 hours') + new \DateTimeImmutable('1 hours'), + $objectName )); $storedObjectManager = new StoredObjectManager($httpClient, $tempUrlGenerator); @@ -306,7 +307,8 @@ final class StoredObjectManagerTest extends TestCase ->willReturnCallback(fn (string $method, string $objectName) => new SignedUrl( $method, 'https://example.com/'.$objectName, - new \DateTimeImmutable('1 hours') + new \DateTimeImmutable('1 hours'), + $objectName )); $manager = new StoredObjectManager($client, $tempUrlGenerator);