Fix failing server tests due to changes in API.

This commit is contained in:
Dorian 2016-08-13 23:52:07 -04:00
parent ca52c635e0
commit d2b9cd0c1c
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ def expected_json_content():
def test_serve_journal_entry_view_returns_journal_entry_as_json(flask_test_app, expected_json_content): def test_serve_journal_entry_view_returns_journal_entry_as_json(flask_test_app, expected_json_content):
expected_info = { expected_info = {
'page': 'about', 'doc_id': 'about',
'title': 'About Rookeries', 'title': 'About Rookeries',
'content': expected_json_content, 'content': expected_json_content,
'revision': mock.ANY, 'revision': mock.ANY,
@ -43,7 +43,7 @@ def test_serve_journal_entry_view_returns_journal_entry_as_json(flask_test_app,
def test_serve_journal_entry_view_serving_landing_doc_returns_about_page(flask_test_app, expected_json_content): def test_serve_journal_entry_view_serving_landing_doc_returns_about_page(flask_test_app, expected_json_content):
expected_info = { expected_info = {
'page': 'about', 'doc_id': 'about',
'title': 'About Rookeries', 'title': 'About Rookeries',
'content': expected_json_content, 'content': expected_json_content,
'revision': mock.ANY, 'revision': mock.ANY,