We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 134d006 + 5424edc commit 9af6573Copy full SHA for 9af6573
tests/Feature/PdfInvoiceTest.php
@@ -6,22 +6,22 @@
6
7
it('computes the right subTotalAmount, totalTaxAmount and totalAmount', function () {
8
$pdfInvoice = new PdfInvoice(
9
- name: "Invoice",
10
- serial_number: "FAKE-INVOICE-01",
11
- state: "paid",
+ name: 'Invoice',
+ serial_number: 'FAKE-INVOICE-01',
+ state: 'paid',
12
due_at: now(),
13
created_at: now(),
14
buyer: config('invoices.default_seller')
15
);
16
17
$pdfInvoice->items = [
18
new PdfInvoiceItem(
19
- label: "Item 1",
+ label: 'Item 1',
20
unit_price: Money::of(110, 'USD'),
21
unit_tax: Money::of(10, 'USD')
22
),
23
24
25
unit_price: Money::of(234, 'USD'),
26
unit_tax: Money::of(12, 'USD')
27
0 commit comments