diff --git a/wagtail/tests/testapp/fixtures/test.json b/wagtail/tests/testapp/fixtures/test.json
index 6650064439..7a51679f7e 100644
--- a/wagtail/tests/testapp/fixtures/test.json
+++ b/wagtail/tests/testapp/fixtures/test.json
@@ -616,7 +616,8 @@
"model": "wagtaildocs.Document",
"fields": {
"title": "test document",
- "created_at": "2014-01-01T12:00:00.000Z"
+ "created_at": "2014-01-01T12:00:00.000Z",
+ "file": "documents/test.pdf"
}
},
{
diff --git a/wagtail/wagtaildocs/tests.py b/wagtail/wagtaildocs/tests.py
index fb0d8b3ddf..229e3511d1 100644
--- a/wagtail/wagtaildocs/tests.py
+++ b/wagtail/wagtaildocs/tests.py
@@ -679,7 +679,7 @@ class TestDocumentRichTextLinkHandler(TestCase):
True
)
self.assertEqual(result,
- '')
+ '')
def test_expand_db_attributes_not_for_editor(self):
result = DocumentLinkHandler.expand_db_attributes(
@@ -687,4 +687,4 @@ class TestDocumentRichTextLinkHandler(TestCase):
False
)
self.assertEqual(result,
- '')
+ '')