fix: [typo] pluralise model name

remotes/origin/main
iglocska 2020-06-22 17:52:11 +02:00
parent 6f9a9ca236
commit e26c0d0958
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class UsersTable extends AppTable
]); ]);
$this->Roles->save($role); $this->Roles->save($role);
$this->Individuals = TableRegistry::get('Individuals'); $this->Individuals = TableRegistry::get('Individuals');
$individual = $this->Individual->newEntity([ $individual = $this->Individuals->newEntity([
'email' => 'admin@admin.test' 'email' => 'admin@admin.test'
]); ]);
$this->Individuals->save($individual); $this->Individuals->save($individual);