diff --git a/tests/test_integration.py b/tests/test_integration.py index f7e3cfa..6fbabf1 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -1297,8 +1297,7 @@ async def test_a_view_share_writes_nothing_and_an_edit_share_writes_only_text(ap assert (await recipient.get(f"/api/notes/{nid}/revisions")).status_code == 404 body = (await (await app_client.get(f"/api/notes/{nid}")).get_json())["body"] - assert body.startswith("first line, edited") - assert "- [x] milk" in body and "eggs" in body + assert body == "first line, edited #fromguest\n- [x] milk" async def test_owner_and_recipient_each_pin_archive_and_order_their_own(app_client, db):