Commits

Kai Diefenbach committed e2c592e

Fixed page test cases.

Comments (0)

Files changed (1)

lfs/page/tests.py

         self.user = User.objects.get(username="admin")
         self.request = DummyRequest(user=self.user)
 
+        self.root = Page.objects.create(
+            id=1,
+            title="Root",
+            slug="",
+            exclude_from_navigation=False,
+        )
+
         self.page = Page.objects.create(
             id=2,
             title="Page Title",