mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix some tests
This commit is contained in:
parent
3c9ee41b3b
commit
8ea87053f0
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user