File tree Expand file tree Collapse file tree
app/sprinkles/account/factories Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 * General factory for the Group Model
1515 */
1616$ fm ->define ('UserFrosting\Sprinkle\Account\Database\Models\Group ' )->setDefinitions ([
17- 'slug ' => Faker::unique ()-> word (),
17+ 'slug ' => Faker::word (10 ),
1818 'name ' => Faker::word (),
1919 'description ' => Faker::paragraph (),
2020]);
Original file line number Diff line number Diff line change 1414 * General factory for the Permission Model
1515 */
1616$ fm ->define ('UserFrosting\Sprinkle\Account\Database\Models\Permission ' )->setDefinitions ([
17- 'slug ' => Faker::unique ()-> word (),
17+ 'slug ' => Faker::word (10 ),
1818 'name ' => Faker::word (),
1919 'description ' => Faker::paragraph (),
2020 'conditions ' => Faker::word (),
Original file line number Diff line number Diff line change 1414 * General factory for the Role Model
1515 */
1616$ fm ->define ('UserFrosting\Sprinkle\Account\Database\Models\Role ' )->setDefinitions ([
17- 'slug ' => Faker::unique ()-> word (),
17+ 'slug ' => Faker::word (10 ),
1818 'name ' => Faker::word (),
1919 'description ' => Faker::paragraph (),
2020]);
You can’t perform that action at this time.
0 commit comments