solve unit tests

This commit is contained in:
harshjagad20
2021-12-01 13:25:24 +05:30
parent f57fa41640
commit 88bfb38b56
33 changed files with 205 additions and 219 deletions

View File

@ -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 () {