-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
117 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,39 @@ public function run() | |
//add rol | ||
$user->roles()->attach(['1','2','3']); //id for Administrator | ||
$user->save(); | ||
|
||
//inserting test data | ||
$user = new \App\User(); | ||
$user->email = "[email protected]"; | ||
$user->password = bcrypt("test"); | ||
$user->firstname = "Board"; | ||
$user->preposition = "of"; | ||
$user->lastname = "NSAC"; | ||
$user->street = "Kerkstraat"; | ||
$user->houseNumber = 34; | ||
$user->city = "test"; | ||
$user->zipcode = "5301jh"; | ||
$user->country = "NL"; | ||
$user->phonenumber = "123456789"; | ||
$user->phonenumber_alt = "987654321"; | ||
$user->emergencyNumber = "147258369"; | ||
$user->emergencyHouseNumber = "19"; | ||
$user->emergencystreet = "Kerk straat"; | ||
$user->emergencycity = "Eindhoven"; | ||
$user->emergencyzipcode = "3633IK"; | ||
$user->emergencycountry = "NL"; | ||
$user->birthDay = Carbon::now()->subYear(20); | ||
$user->gender = "man"; | ||
$user->kind_of_member = "relationship"; //not 100% sure if this is the correct kind of member for nsac board | ||
$user->IBAN = "NL55 RABO 0107331020"; | ||
$user->BIC = ""; | ||
$user->incasso = false; | ||
$user->remark = "Ik ben een test NSAC bestuur gebruiker"; | ||
$user->save(); | ||
|
||
//add rol | ||
$user->roles()->attach(['5']); //id for nsac emergency info access | ||
$user->save(); | ||
|
||
//inserting test data | ||
$user = new \App\User(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters