mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2026-05-05 04:54:53 +00:00
🔥 **Cleanup & Tests:** Removed the obsolete auth.register component and its related route, feature tests, and browser tests. Disabled public registration and added tests to ensure /register returns a 404. Added new tests for service, lecturer, city, venue, and meetup CRUD flows.
This commit is contained in:
@@ -25,7 +25,6 @@ it('returns a successful response for the listed public route', function (string
|
||||
})->with([
|
||||
'welcome' => '/welcome',
|
||||
'login' => '/login',
|
||||
'register' => '/register',
|
||||
'forgot password' => '/forgot-password',
|
||||
'meetups index' => '/de/meetups',
|
||||
'meetups all' => '/de/all-meetups',
|
||||
@@ -42,6 +41,10 @@ it('redirects / to /welcome', function () {
|
||||
$this->get('/')->assertRedirect('/welcome');
|
||||
});
|
||||
|
||||
it('returns 404 for /register because public registration is disabled', function () {
|
||||
$this->get('/register')->assertNotFound();
|
||||
});
|
||||
|
||||
it('redirects /de/dashboard to login when guest', function () {
|
||||
$this->get('/de/dashboard')->assertRedirect(route('login'));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user