mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 00:11:35 +02:00
Fixes for tests
This commit is contained in:
parent
c06c18affc
commit
aee6fe6dc9
2
composer.lock
generated
2
composer.lock
generated
@ -20755,5 +20755,5 @@
|
||||
"platform-dev": {
|
||||
"php": "^8.2"
|
||||
},
|
||||
"plugin-api-version": "2.3.0"
|
||||
"plugin-api-version": "2.6.0"
|
||||
}
|
||||
|
@ -1872,6 +1872,7 @@ class PaymentTest extends TestCase
|
||||
'date' => '2020/12/12',
|
||||
'number' => 'duplicate',
|
||||
];
|
||||
sleep(1);
|
||||
|
||||
$response = $this->withHeaders([
|
||||
'X-API-SECRET' => config('ninja.api_secret'),
|
||||
@ -1879,7 +1880,7 @@ class PaymentTest extends TestCase
|
||||
])->postJson('/api/v1/payments', $data);
|
||||
|
||||
$response->assertStatus(200);
|
||||
|
||||
sleep(1);
|
||||
$response = $this->withHeaders([
|
||||
'X-API-SECRET' => config('ninja.api_secret'),
|
||||
'X-API-TOKEN' => $this->token,
|
||||
|
Loading…
Reference in New Issue
Block a user