1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

Minor fixes for tests

This commit is contained in:
David Bomba 2022-01-06 14:53:03 +11:00
parent abbca58b4d
commit b42ae9023b

View File

@ -51,7 +51,7 @@ class ClientDeletedInvoiceCreationTest extends TestCase
'number' => 'dude',
];
$response = $this->withHeaders([
$this->withHeaders([
'X-API-SECRET' => config('ninja.api_secret'),
'X-API-TOKEN' => $this->token,
])->post('/api/v1/invoices/', $data)
@ -66,7 +66,7 @@ class ClientDeletedInvoiceCreationTest extends TestCase
'number' => 'dude2',
];
$response = $this->withHeaders([
$this->withHeaders([
'X-API-SECRET' => config('ninja.api_secret'),
'X-API-TOKEN' => $this->token,
])->post('/api/v1/invoices/', $data)