Implement StoredObject permissions in AsyncUploadVoter.php

This commit is contained in:
2024-07-02 15:35:41 +02:00
parent a9f4f8c973
commit 3262a1dd02
9 changed files with 21 additions and 14 deletions

View File

@@ -202,7 +202,8 @@ final class StoredObjectManagerTest extends TestCase
$response = new SignedUrl(
'PUT',
'https://example.com/'.$storedObject->getFilename(),
new \DateTimeImmutable('1 hours')
new \DateTimeImmutable('1 hours'),
$storedObject->getFilename()
);
$tempUrlGenerator = $this->createMock(TempUrlGeneratorInterface::class);