From 3e59c0b2f522fd8a00accd969ea867b4e51ae0a6 Mon Sep 17 00:00:00 2001 From: Rhys Lees <43909932+RhysLees@users.noreply.github.com> Date: Mon, 18 Sep 2023 13:57:21 +0100 Subject: [PATCH] WIP --- tests/Feature/LoginControllerTest.php | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 tests/Feature/LoginControllerTest.php diff --git a/tests/Feature/LoginControllerTest.php b/tests/Feature/LoginControllerTest.php deleted file mode 100644 index 9a86e0f..0000000 --- a/tests/Feature/LoginControllerTest.php +++ /dev/null @@ -1,26 +0,0 @@ -get(route('auth.login')); - $response->assertOk(); -})->group('auth', 'login', 'test')->only(); - -it('authorized auth.login', function () { - authenticatedUser(); - $response = $this->get(route('login')); - $response->assertRedirect(); -})->group('auth', 'login')->skip(); - -test('authorized customer.auth.login.store', function () { - $user = authenticatedUser(); - $route = route('login.store'); - - $response = $this->post($route, [ - 'email' => $user->email, - 'password' => 'password', - ]); - - $response->assertRedirect(route('frontend.start.index')); -})->group('auth', 'login')->skip();