diff --git a/wagtail/contrib/modeladmin/tests/test_page_modeladmin.py b/wagtail/contrib/modeladmin/tests/test_page_modeladmin.py index a6af42841a..7ec476ced5 100644 --- a/wagtail/contrib/modeladmin/tests/test_page_modeladmin.py +++ b/wagtail/contrib/modeladmin/tests/test_page_modeladmin.py @@ -119,11 +119,11 @@ class TestInspectView(TestCase, WagtailTestUtils): def test_title_present(self): """ - The page title should appear twice. Once in the header, and once - more in the field listing + The page title should appear three times. Once in the header, and two times + in the field listing (as the actual title and as the draft title) """ response = self.get(4) - self.assertContains(response, 'Christmas', 2) + self.assertContains(response, 'Christmas', 3) def test_manytomany_output(self): """