Files
daily-meal-api/tests/Feature/FilesystemConfigurationTest.php
leonm 3ee3024de9
CI / 🧪 Tests Laravel (push) Failing after 1m28s
CI / 🐳 Build & Push Images (push) Has been skipped
feat: try fix ci/cd
2026-08-17 10:25:15 +02:00

13 lines
454 B
PHP

<?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');
});