Fix for tests

This commit is contained in:
Hillel Coren 2017-09-14 11:58:18 +03:00
parent 114ab3ce72
commit d8423716ba

View File

@ -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);
}
}
}