diff --git a/tests/Feature/UserTest.php b/tests/Feature/UserTest.php index 3d0b02d..4b2c014 100644 --- a/tests/Feature/UserTest.php +++ b/tests/Feature/UserTest.php @@ -30,6 +30,14 @@ public function test_a_user_can_view_a_login_form() { $response->assertViewIs('auth.login'); } + // Test: Un usuario puede acceder a la vista de Registro de Usuario + public function test_a_user_can_view_a_register_form() { + $response = $this->get('/register'); + + $response->assertSuccessful(); + $response->assertViewIs('auth.register'); + } + // Test: Un usuario puede Iniciar SesiĆ³n // public function test_a_user_can_login() { // // Crear un usuario de prueba