Fix failing server tests due to changes in API.
This commit is contained in:
parent
ca52c635e0
commit
d2b9cd0c1c
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue