Merge remote-tracking branch 'origin/develop' into feature/mitgliederbereich-v2
Deploy Test / test (push) Successful in 2m14s
Deploy Test / deploy (push) Successful in 38s

This commit is contained in:
Lars committed 2026-11-22 18:00:09 +01:00
commit 8b644292a7
3 files changed
+18

No files matched your search

+16
View File
@@ -123,6 +123,22 @@ public function test_password_reset_sends_a_link(): void
Notification::assertSentTo($user, ResetPassword::class);
}
public function test_login_page_points_new_visitors_to_registration(): void
{
$this->get('/anmelden')
->assertOk()
->assertSee('Noch kein Konto?')
->assertSee('href="'.route('register').'"', false);
}
public function test_registration_page_points_existing_members_to_login(): void
{
$this->get('/registrieren')
->assertOk()
->assertSee('Schon registriert?')
->assertSee('href="'.route('login').'"', false);
}
public function test_guests_cannot_open_the_member_area(): void
{
$this->get('/bereich')->assertRedirect('/anmelden');