diff --git a/tests/Service/Pdf/InvoiceRendererTest.php b/tests/Service/Pdf/InvoiceRendererTest.php index 59c7f2d..86572f1 100644 --- a/tests/Service/Pdf/InvoiceRendererTest.php +++ b/tests/Service/Pdf/InvoiceRendererTest.php @@ -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())