fix: adopt changes in test
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user