mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
add delays for payments post
This commit is contained in:
parent
e469bee620
commit
a25368986f
@ -220,6 +220,7 @@ class MultiPaymentDeleteTest extends TestCase
|
|||||||
$this->assertEquals(162, $invoice->client->fresh()->balance);
|
$this->assertEquals(162, $invoice->client->fresh()->balance);
|
||||||
$this->assertEquals(163, $invoice->client->fresh()->paid_to_date);
|
$this->assertEquals(163, $invoice->client->fresh()->paid_to_date);
|
||||||
|
|
||||||
|
usleep(800);
|
||||||
// Pay 162 again and create payment #3
|
// Pay 162 again and create payment #3
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
@ -233,6 +234,7 @@ class MultiPaymentDeleteTest extends TestCase
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
'date' => '2019/12/12',
|
'date' => '2019/12/12',
|
||||||
|
'idempotency_key' => md5(time()),
|
||||||
];
|
];
|
||||||
|
|
||||||
$response = $this->withHeaders([
|
$response = $this->withHeaders([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user