From 6ff4b5075adbe445f2508c471db11dbe8749ca09 Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Tue, 1 Mar 2016 13:19:35 +0000 Subject: [PATCH] Fix test for #2279 to satisfy the stricter validation rules from #2278 --- wagtail/wagtailadmin/tests/test_pages_views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wagtail/wagtailadmin/tests/test_pages_views.py b/wagtail/wagtailadmin/tests/test_pages_views.py index b259b17a5..68bcc091f 100644 --- a/wagtail/wagtailadmin/tests/test_pages_views.py +++ b/wagtail/wagtailadmin/tests/test_pages_views.py @@ -1484,8 +1484,7 @@ class TestPageSearch(TestCase, WagtailTestUtils): # Create a page root_page.add_child(instance=SimplePage( - title="Hi there!", - slug='hello-world', + title="Hi there!", slug='hello-world', content="good morning", live=True, has_unpublished_changes=False, ))