feat: try fix ci/cd
CI / 🧪 Tests Laravel (push) Failing after 1m28s
CI / 🐳 Build & Push Images (push) Has been skipped

This commit is contained in:
2026-08-17 10:25:15 +02:00
parent 5b07d9db4e
commit 3ee3024de9
3 changed files with 16 additions and 0 deletions
+3
View File
@@ -68,6 +68,9 @@ return [
'identity_documents' => [
'driver' => $identityDocumentsDriver,
'root' => $identityDocumentsRoot,
'url' => $identityDocumentsDriver === 'local'
? rtrim(env('APP_URL', 'http://localhost'), '/').'/identity-documents'
: env('AWS_URL'),
'serve' => true,
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
+1
View File
@@ -25,6 +25,7 @@
<env name="CACHE_STORE" value="array"/>
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
<env name="FILESYSTEM_DISK" value="local"/>
<env name="MAIL_MAILER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="SESSION_DRIVER" value="array"/>
@@ -0,0 +1,12 @@
<?php
it('serves local identity documents from a dedicated URL', function () {
$identityDocumentsUrl = (string) config('filesystems.disks.identity_documents.url');
expect(parse_url($identityDocumentsUrl, PHP_URL_PATH))
->toBe('/identity-documents')
->and(route('storage.identity_documents', [
'path' => 'submissions/example.jpg',
], false))
->toBe('/identity-documents/submissions/example.jpg');
});