fix: adopt changes in test

This commit is contained in:
Björn Fromme
2025-03-18 18:07:52 +01:00
parent bd1cd68cff
commit 3ad8b59ba1
+3 -2
View File
@@ -66,11 +66,12 @@ class InvoiceRendererTest extends WebTestCase
->setCode('ABC123')
->setDateFrom(new \DateTimeImmutable('2023-12-01'))
->setDateTo(new \DateTimeImmutable('2023-12-08'))
->setCostUnit('FOO123')
->setCostUnit('200')
;
$jobProfile = new JobProfile();
$jobProfile->setName('Allrounder');
$jobProfile->setCostUnit('300');
$contact = new User();
$contact
@@ -84,7 +85,6 @@ class InvoiceRendererTest extends WebTestCase
->setDestination($destination)
->setJobProfile($jobProfile)
->setContact($contact)
->setCostCenter('BAR456')
;
$application = new Application($assignment, $teamer);
@@ -98,6 +98,7 @@ class InvoiceRendererTest extends WebTestCase
$invoice = new Upload();
$invoice
->setType(Upload::TYPE_INVOICE)
->setMimeType('application/pdf')
->setFilename('Honorarnote.pdf')
->setApprovedBy('FOO')
->setApprovedAt(new \DateTimeImmutable())