Fix for tests
This commit is contained in:
parent
114ab3ce72
commit
d8423716ba
1 changed files with 3 additions and 1 deletions
|
|
@ -152,7 +152,9 @@ class CreateTestData extends Command
|
|||
$invoice = $this->invoiceRepo->save($data);
|
||||
$this->info('Invoice: ' . $invoice->invoice_number);
|
||||
|
||||
$this->createPayment($client, $invoice);
|
||||
if (! $isQuote) {
|
||||
$this->createPayment($client, $invoice);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue