add tests batch 20

This commit is contained in:
root
2026-06-09 01:03:53 -04:00
parent 95efb9652e
commit 6be4875c5e
1502 changed files with 13797 additions and 11313 deletions
@@ -9,7 +9,8 @@ class ExpenseReceiptService
{
public function __construct(
private ApplicationUrlService $urls
) {}
) {
}
public function storeReceipt(UploadedFile $file): string
{
@@ -33,7 +34,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;