Skip to content

Commit

Permalink
✅ Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonJnsson committed Jan 5, 2024
1 parent bc51777 commit c5eb7eb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/Unit/InvoiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,7 @@
->bookedInvoiceNumber->toBe(1);
});

it('books invoice without enum issue', function () {

it('handles populating resource with enum value', function () {
$this->driver->expects()->post()
->withAnyArgs()
->twice()
Expand All @@ -199,6 +198,10 @@
'vatZoneNumber' => 1,
],
],
'paymentTerms' => [
'paymentTermsNumber' => 1,
'paymentTermsType' => 'net',
],
]), new EconomicResponse(201, [
'bookedInvoiceNumber' => 1,
]));
Expand All @@ -216,5 +219,5 @@
new VatZone(1),
)
)
->create()->book();
->create();
});

0 comments on commit c5eb7eb

Please sign in to comment.