redo contact test, added contact factory

This commit is contained in:
Zain Fauzan Rofie Azizi
2018-07-02 16:50:18 +08:00
parent 7a7e8fdcfe
commit 03d84570fa
2 changed files with 48 additions and 32 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php
use Faker\Generator as Faker;
$factory->define(App\Contact::class, function (Faker $faker) {
return [
'user_id' => '1',
'com_id' => '1',
'status' => '1',
];
});