mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-19 04:24:01 +00:00
c64c526d98
updated on user phone verification, create a company profile removed company store function updated company with user relationship added company factory moved company routes into authenticated routes updated company test renamed "verify" routes to "verify-phone"
31 lines
898 B
PHP
31 lines
898 B
PHP
<?php
|
|
|
|
use Faker\Generator as Faker;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Model Factories
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| This directory should contain each of the model factory definitions for
|
|
| your application. Factories provide a convenient way to generate new
|
|
| model instances for testing / seeding your application's database.
|
|
|
|
|
*/
|
|
// Manually creating the relationship tree.
|
|
$factory->define(App\Company::class, function (Faker $faker) {
|
|
return [
|
|
'company_name'=>'testing',
|
|
'registration_no'=>'testing',
|
|
'tax_no'=>'testing',
|
|
'tel_no'=>'12345',
|
|
'fax'=>'12345',
|
|
'address'=>'testing',
|
|
'city'=>'testing',
|
|
'postcode'=>'testing',
|
|
'state'=>'testing',
|
|
'country'=>'testing',
|
|
'contact_person'=>'testing'
|
|
];
|
|
});
|