Fixed #5964 - Feature: Group IDs can be passed to User Create. (#5990)

Also added to update, and adjusted api tests to confirm.  Long term it
might be nice to look at support for passing group names instead.

Bug: 5964
This commit is contained in:
Daniel Meltzer
2018-07-27 15:01:59 -04:00
committed by snipe
parent a3811f632d
commit 94c79fa69a
4 changed files with 25 additions and 6 deletions
+5
View File
@@ -45,6 +45,11 @@ $factory->define(App\Models\Component::class, function (Faker\Generator $faker)
];
});
$factory->define(App\Models\Group::class, function (Faker\Generator $faker) {
return [
'name' => $faker->name,
];
});
$factory->define(App\Models\Location::class, function (Faker\Generator $faker) {
return [