diff options
Diffstat (limited to 'main/app/sprinkles/account/factories')
-rw-r--r-- | main/app/sprinkles/account/factories/Permissions.php | 19 | ||||
-rw-r--r-- | main/app/sprinkles/account/factories/Roles.php | 18 | ||||
-rw-r--r-- | main/app/sprinkles/account/factories/Users.php | 23 |
3 files changed, 0 insertions, 60 deletions
diff --git a/main/app/sprinkles/account/factories/Permissions.php b/main/app/sprinkles/account/factories/Permissions.php deleted file mode 100644 index 591f5fd..0000000 --- a/main/app/sprinkles/account/factories/Permissions.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php -/** - * UserFrosting (http://www.userfrosting.com) - * - * @link https://github.com/userfrosting/UserFrosting - * @license https://github.com/userfrosting/UserFrosting/blob/master/licenses/UserFrosting.md (MIT License) - */ - -use League\FactoryMuffin\Faker\Facade as Faker; - -/** - * General factory for the Permission Model - */ -$fm->define('UserFrosting\Sprinkle\Account\Database\Models\Permission')->setDefinitions([ - 'slug' => Faker::word(), - 'name' => Faker::word(), - 'description' => Faker::paragraph(), - 'conditions' => Faker::word() -]); diff --git a/main/app/sprinkles/account/factories/Roles.php b/main/app/sprinkles/account/factories/Roles.php deleted file mode 100644 index cdbb5a3..0000000 --- a/main/app/sprinkles/account/factories/Roles.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php -/** - * UserFrosting (http://www.userfrosting.com) - * - * @link https://github.com/userfrosting/UserFrosting - * @license https://github.com/userfrosting/UserFrosting/blob/master/licenses/UserFrosting.md (MIT License) - */ - -use League\FactoryMuffin\Faker\Facade as Faker; - -/** - * General factory for the Role Model - */ -$fm->define('UserFrosting\Sprinkle\Account\Database\Models\Role')->setDefinitions([ - 'slug' => Faker::unique()->word(), - 'name' => Faker::word(), - 'description' => Faker::paragraph() -]); diff --git a/main/app/sprinkles/account/factories/Users.php b/main/app/sprinkles/account/factories/Users.php deleted file mode 100644 index eb49f42..0000000 --- a/main/app/sprinkles/account/factories/Users.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php
-/**
- * UserFrosting (http://www.userfrosting.com)
- *
- * @link https://github.com/userfrosting/UserFrosting
- * @license https://github.com/userfrosting/UserFrosting/blob/master/licenses/UserFrosting.md (MIT License)
- */
-
-use League\FactoryMuffin\Faker\Facade as Faker;
-
-/**
- * General factory for the User Model
- */
-$fm->define('UserFrosting\Sprinkle\Account\Database\Models\User')->setDefinitions([
- 'user_name' => Faker::unique()->firstNameMale(),
- 'first_name' => Faker::firstNameMale(),
- 'last_name' => Faker::firstNameMale(),
- 'email' => Faker::unique()->email(),
- 'locale' => 'en_US',
- 'flag_verified' => 1,
- 'flag_enabled' => 1,
- 'password' => Faker::password()
-]);
|