Add missing test factories
This commit is contained in:
11
database/factories/TaxFactory.php
Normal file
11
database/factories/TaxFactory.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Faker\Generator as Faker;
|
||||
|
||||
$factory->define(App\Models\Tax::class, function (Faker $faker) {
|
||||
return [
|
||||
'id'=>1,
|
||||
'rate'=>0.1,
|
||||
'description'=>'GST',
|
||||
];
|
||||
});
|
Reference in New Issue
Block a user