mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Minor fixes for tests
This commit is contained in:
parent
abbca58b4d
commit
b42ae9023b
@ -51,7 +51,7 @@ class ClientDeletedInvoiceCreationTest extends TestCase
|
|||||||
'number' => 'dude',
|
'number' => 'dude',
|
||||||
];
|
];
|
||||||
|
|
||||||
$response = $this->withHeaders([
|
$this->withHeaders([
|
||||||
'X-API-SECRET' => config('ninja.api_secret'),
|
'X-API-SECRET' => config('ninja.api_secret'),
|
||||||
'X-API-TOKEN' => $this->token,
|
'X-API-TOKEN' => $this->token,
|
||||||
])->post('/api/v1/invoices/', $data)
|
])->post('/api/v1/invoices/', $data)
|
||||||
@ -66,7 +66,7 @@ class ClientDeletedInvoiceCreationTest extends TestCase
|
|||||||
'number' => 'dude2',
|
'number' => 'dude2',
|
||||||
];
|
];
|
||||||
|
|
||||||
$response = $this->withHeaders([
|
$this->withHeaders([
|
||||||
'X-API-SECRET' => config('ninja.api_secret'),
|
'X-API-SECRET' => config('ninja.api_secret'),
|
||||||
'X-API-TOKEN' => $this->token,
|
'X-API-TOKEN' => $this->token,
|
||||||
])->post('/api/v1/invoices/', $data)
|
])->post('/api/v1/invoices/', $data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user