diff --git a/wagtail/admin/tests/test_contentstate.py b/wagtail/admin/tests/test_contentstate.py index 7f5bb15725..a55cbc0498 100644 --- a/wagtail/admin/tests/test_contentstate.py +++ b/wagtail/admin/tests/test_contentstate.py @@ -227,7 +227,7 @@ class TestHtmlToContentState(TestCase): )) self.assertContentStateEqual(result, { 'entityMap': { - '0': {'mutability': 'MUTABLE', 'type': 'LINK', 'data': {'url': 'http://wagtail.io', 'linkType': 'external'}} + '0': {'mutability': 'MUTABLE', 'type': 'LINK', 'data': {'url': 'http://wagtail.io'}} }, 'blocks': [ { @@ -248,7 +248,7 @@ class TestHtmlToContentState(TestCase): 'entityMap': { '0': { 'mutability': 'MUTABLE', 'type': 'LINK', - 'data': {'id': 3, 'linkType': 'page', 'title': 'Events', 'url': '/events/', 'parentId': 2} + 'data': {'id': 3, 'url': '/events/', 'parentId': 2} } }, 'blocks': [