1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-06 03:02:34 +01:00
invoiceninja/database/factories/AccountFactory.php
David Bomba 8b0fe63eb5
Send Generic entity email. (#3560)
* Enable identifying a user who submits a report to sentry for tracking purposes

* Minor fix for setup page

* Fixes for Tests

* Fixes for tests

* Generic Entity Emailer

* Fixes for emailing a generic entity
2020-03-29 23:22:14 +11:00

12 lines
229 B
PHP

<?php
use Faker\Generator as Faker;
use Illuminate\Support\Str;
$factory->define(App\Models\Account::class, function (Faker $faker) {
return [
'default_company_id' => 1,
'key' => Str::random(32),
];
});