adds a route to download generated invoice documents

This commit is contained in:
Kevin Papst
2025-06-01 13:12:26 +02:00
parent 12190141d7
commit e5ab1f9e78
4 changed files with 35 additions and 2 deletions

View File

@@ -120,6 +120,11 @@ class InvoiceControllerTest extends APIControllerBaseTestCase
self::assertApiResponseTypeStructure('Invoice', $result);
}
public function testDownloadInvoice(): void
{
$this->fail('Missing test');
}
public function testNotFound(): void
{
$this->assertEntityNotFound(User::ROLE_USER, '/api/invoices/' . PHP_INT_MAX);