fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
@@ -9,8 +9,7 @@ class ExpenseReceiptService
{
public function __construct(
private ApplicationUrlService $urls
) {
}
) {}
public function storeReceipt(UploadedFile $file): string
{
@@ -34,7 +33,7 @@ class ExpenseReceiptService
throw new \InvalidArgumentException('Receipt file too large. Max 5MB.');
}
$filename = bin2hex(random_bytes(16)) . '.' . $allowed[$mime];
$filename = bin2hex(random_bytes(16)).'.'.$allowed[$mime];
$file->storeAs('receipts', $filename);
return $filename;