Allow configuring guest user profile (#809)

This commit is contained in:
Sascha Ißbrücker
2024-08-31 20:25:43 +02:00
committed by GitHub
parent 79bf4b38c6
commit aad62f61c9
7 changed files with 127 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ from bookmarks.models import GlobalSettings
from bookmarks.tests.helpers import BookmarkFactoryMixin
class AnonymousViewTestCase(TestCase, BookmarkFactoryMixin):
class RootViewTestCase(TestCase, BookmarkFactoryMixin):
def test_unauthenticated_user_redirect_to_login_by_default(self):
response = self.client.get(reverse("bookmarks:root"))
self.assertRedirects(response, reverse("login"))