mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-01 05:56:16 +00:00
add timezone edit to profile (#63)
This commit is contained in:
@ -29,6 +29,7 @@ public function test_profile_information_can_be_updated(): void
|
||||
Livewire::test(UpdateProfileInformation::class)
|
||||
->set('name', 'Test')
|
||||
->set('email', 'test@example.com')
|
||||
->set('timezone', 'Europe/Berlin')
|
||||
->call('submit')
|
||||
->assertSuccessful();
|
||||
|
||||
@ -36,5 +37,6 @@ public function test_profile_information_can_be_updated(): void
|
||||
|
||||
$this->assertSame('Test', $this->user->name);
|
||||
$this->assertSame('test@example.com', $this->user->email);
|
||||
$this->assertSame('Europe/Berlin', $this->user->timezone);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user