mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for quote factory
This commit is contained in:
parent
a94e36ed8b
commit
206b2dd235
@ -12,6 +12,7 @@
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Models\Quote;
|
||||
use App\Factory\InvoiceItemFactory;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
class QuoteFactory extends Factory
|
||||
@ -39,7 +40,7 @@ class QuoteFactory extends Factory
|
||||
// 'custom_value4' => $this->faker->numberBetween(1, 4),
|
||||
'is_deleted' => false,
|
||||
'po_number' => $this->faker->text(10),
|
||||
'line_items' => false,
|
||||
'line_items' => InvoiceItemFactory::generate(5),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user