AGPL-3.0-only, a source link in the app, and everything on dev since #5 #6
@@ -1281,7 +1281,7 @@ async def test_a_view_share_writes_nothing_and_an_edit_share_writes_only_text(ap
|
|||||||
assert (await edited.get_json())["labels"] == []
|
assert (await edited.get_json())["labels"] == []
|
||||||
ticked = await recipient.patch(f"/api/notes/{nid}/items/0", json={"checked": True})
|
ticked = await recipient.patch(f"/api/notes/{nid}/items/0", json={"checked": True})
|
||||||
assert ticked.status_code == 200
|
assert ticked.status_code == 200
|
||||||
assert (await recipient.post(f"/api/notes/{nid}/items", json={"text": "eggs"})).status_code == 200
|
assert (await recipient.post(f"/api/notes/{nid}/items", json={"text": "eggs"})).status_code == 201
|
||||||
|
|
||||||
# A #tag typed into someone else's note files it under the OWNER's tags.
|
# A #tag typed into someone else's note files it under the OWNER's tags.
|
||||||
owner_tags = [lb["name"] for lb in (await (await app_client.get("/api/labels")).get_json())["labels"]]
|
owner_tags = [lb["name"] for lb in (await (await app_client.get("/api/labels")).get_json())["labels"]]
|
||||||
|
|||||||
Reference in New Issue
Block a user