Merge remote-tracking branch 'origin/develop' into feature/mitgliederbereich-v2
This commit is contained in:
commit
8b644292a7
3 files changed
+18
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user