From 17ce7e4bd3715ab997cc01bbf233fd217f903ebd Mon Sep 17 00:00:00 2001 From: danharrin Date: Mon, 31 Jul 2023 15:00:34 +0000 Subject: [PATCH] chore: styling --- tests/Feature/EditAccountTest.php | 34 +++++++++++++++---------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/tests/Feature/EditAccountTest.php b/tests/Feature/EditAccountTest.php index 2ad362d590..cb51cb3c5b 100644 --- a/tests/Feature/EditAccountTest.php +++ b/tests/Feature/EditAccountTest.php @@ -16,7 +16,7 @@ class EditAccountTest extends TestCase { $user = User::factory()->create(); $newUserDetails = User::factory()->make(); -// $newPassword = Str::random(); + // $newPassword = Str::random(); $this->be($user); @@ -37,10 +37,10 @@ class EditAccountTest extends TestCase $this->assertEquals($newUserDetails->email, $user->email); $this->assertEquals($newUserDetails->name, $user->name); -// $this->assertTrue(Filament::auth()->attempt([ -// 'email' => $newUserDetails->email, -// 'password' => $newPassword, -// ])); + // $this->assertTrue(Filament::auth()->attempt([ + // 'email' => $newUserDetails->email, + // 'password' => $newPassword, + // ])); } /** @test */ @@ -94,18 +94,18 @@ class EditAccountTest extends TestCase ->assertHasErrors(['record.name' => 'required']); } -// /** @test */ -// public function record_password_contains_minimum_8_characters() -// { -// $user = User::factory()->create(); -// -// $this->be($user); -// -// Livewire::test(EditAccount::class) -// ->set('record.password', 'pass') -// ->call('save') -// ->assertHasErrors(['record.password' => 'min']); -// } + // /** @test */ + // public function record_password_contains_minimum_8_characters() + // { + // $user = User::factory()->create(); + // + // $this->be($user); + // + // Livewire::test(EditAccount::class) + // ->set('record.password', 'pass') + // ->call('save') + // ->assertHasErrors(['record.password' => 'min']); + // } /** @test */ public function record_password_is_confirmed()