make static analyse part

This commit is contained in:
2024-01-14 13:11:41 +03:00
parent 5e24ef3555
commit 38666bd460
29 changed files with 152 additions and 240 deletions

View File

@@ -16,10 +16,11 @@ class ProfileInformationTest extends TestCase
{
$this->actingAs($user = User::factory()->create());
/** @var UpdateProfileInformationForm $component */
$component = Livewire::test(UpdateProfileInformationForm::class);
$this->assertEquals($user->name, $component->state['name']);
$this->assertEquals($user->email, $component->state['email']);
self::assertEquals($user->name, $component->state['name']);
self::assertEquals($user->email, $component->state['email']);
}
public function test_profile_information_can_be_updated(): void