Laravel 9 Update (#1413)
Update to Laravel 9 and PHP 8+ Co-authored-by: B.Fatih KOZ <fatih.koz@gmail.com>
This commit is contained in:
@@ -27,7 +27,7 @@ class RegistrationTest extends TestCase
|
||||
|
||||
$this->updateSetting('pilots.auto_accept', true);
|
||||
|
||||
$attrs = factory(User::class)->make()->makeVisible(['api_key', 'name', 'email'])->toArray();
|
||||
$attrs = User::factory()->make()->makeVisible(['api_key', 'name', 'email'])->toArray();
|
||||
$attrs['password'] = Hash::make('secret');
|
||||
$user = $userSvc->createUser($attrs);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user