-
Notifications
You must be signed in to change notification settings - Fork 221
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
1 parent
38e23a1
commit 8282d39
Showing
4 changed files
with
23 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,12 +29,14 @@ public function test_profile_information_can_be_updated(): void | |
Livewire::test(UpdateProfileInformation::class) | ||
->set('name', 'Test') | ||
->set('email', '[email protected]') | ||
->set('timezone', 'Europe/Berlin') | ||
->call('submit') | ||
->assertSuccessful(); | ||
|
||
$this->user->refresh(); | ||
|
||
$this->assertSame('Test', $this->user->name); | ||
$this->assertSame('[email protected]', $this->user->email); | ||
$this->assertSame('Europe/Berlin', $this->user->timezone); | ||
} | ||
} |