mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-16 16:37:47 +00:00
refactor: rebase on Livewire 4 starter kit
This commit is contained in:
parent
b097b0a7d7
commit
e660da46fb
69 changed files with 1967 additions and 942 deletions
|
|
@ -15,7 +15,7 @@ test('profile information can be updated', function (): void {
|
|||
|
||||
$this->actingAs($user);
|
||||
|
||||
$response = Livewire::test('settings.profile')
|
||||
$response = Livewire::test('pages::settings.profile')
|
||||
->set('name', 'Test User')
|
||||
->set('email', 'test@example.com')
|
||||
->call('updateProfileInformation');
|
||||
|
|
@ -34,7 +34,7 @@ test('email verification status is unchanged when email address is unchanged', f
|
|||
|
||||
$this->actingAs($user);
|
||||
|
||||
$response = Livewire::test('settings.profile')
|
||||
$response = Livewire::test('pages::settings.profile')
|
||||
->set('name', 'Test User')
|
||||
->set('email', $user->email)
|
||||
->call('updateProfileInformation');
|
||||
|
|
@ -49,7 +49,7 @@ test('user can delete their account', function (): void {
|
|||
|
||||
$this->actingAs($user);
|
||||
|
||||
$response = Livewire::test('settings.delete-user-form')
|
||||
$response = Livewire::test('pages::settings.delete-user-form')
|
||||
->set('password', 'password')
|
||||
->call('deleteUser');
|
||||
|
||||
|
|
@ -66,7 +66,7 @@ test('correct password must be provided to delete account', function (): void {
|
|||
|
||||
$this->actingAs($user);
|
||||
|
||||
$response = Livewire::test('settings.delete-user-form')
|
||||
$response = Livewire::test('pages::settings.delete-user-form')
|
||||
->set('password', 'wrong-password')
|
||||
->call('deleteUser');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue