mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 19:51:09 -04:00
solve unit tests
This commit is contained in:
@ -252,10 +252,8 @@ test('clone invoice', function () {
|
||||
'due_date' => '1988-08-18',
|
||||
]);
|
||||
|
||||
$response = postJson("api/v1/invoices/{$invoices->id}/clone");
|
||||
|
||||
$response
|
||||
->assertOk();
|
||||
postJson("api/v1/invoices/{$invoices->id}/clone")
|
||||
->assertStatus(201);
|
||||
});
|
||||
|
||||
test('create invoice with negative tax', function () {
|
||||
|
||||
Reference in New Issue
Block a user