tests: stop posting to the removed add-item route in the share ACL test
CI & Build / Python lint (push) Successful in 4s
CI & Build / Build now, or wait for Android? (push) Successful in 4s
Android / Build, or is the channel already serving this? (push) Successful in 4s
Android / Kotlin + Rust (APK) (push) Skipped
Desktop (Tauri) / Build, or is the channel already serving this? (push) Successful in 2s
Desktop (Tauri) / Web tests, clippy, Rust tests and rustfmt (push) Skipped
Desktop (Tauri) / Tauri desktop (Linux) (push) Skipped
Desktop (Tauri) / Windows installer (cross-compiled) (push) Skipped
Desktop (Tauri) / Update manifest (push) Skipped
CI & Build / Web typecheck and unit tests (push) Successful in 10s
CI & Build / Python tests (push) Successful in 13s
CI & Build / integration (push) Failing after 1m7s
CI & Build / Build & push image (push) Skipped
CI & Build / Python lint (push) Successful in 4s
CI & Build / Build now, or wait for Android? (push) Successful in 4s
Android / Build, or is the channel already serving this? (push) Successful in 4s
Android / Kotlin + Rust (APK) (push) Skipped
Desktop (Tauri) / Build, or is the channel already serving this? (push) Successful in 2s
Desktop (Tauri) / Web tests, clippy, Rust tests and rustfmt (push) Skipped
Desktop (Tauri) / Tauri desktop (Linux) (push) Skipped
Desktop (Tauri) / Windows installer (cross-compiled) (push) Skipped
Desktop (Tauri) / Update manifest (push) Skipped
CI & Build / Web typecheck and unit tests (push) Successful in 10s
CI & Build / Python tests (push) Successful in 13s
CI & Build / integration (push) Failing after 1m7s
CI & Build / Build & push image (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1265,7 +1265,6 @@ async def test_a_view_share_writes_nothing_and_an_edit_share_writes_only_text(ap
|
||||
# View: every write is a 404, the same answer a stranger gets (#1984).
|
||||
writes = [
|
||||
recipient.patch(f"/api/notes/{nid}", json={"body": "mine now"}),
|
||||
recipient.post(f"/api/notes/{nid}/items", json={"text": "eggs"}),
|
||||
recipient.patch(f"/api/notes/{nid}/items/0", json={"checked": True}),
|
||||
recipient.post(f"/api/notes/{nid}/trash"),
|
||||
recipient.put(f"/api/notes/{nid}/labels", json={"label_ids": []}),
|
||||
@@ -1285,7 +1284,6 @@ async def test_a_view_share_writes_nothing_and_an_edit_share_writes_only_text(ap
|
||||
assert (await edited.get_json())["labels"] == []
|
||||
ticked = await recipient.patch(f"/api/notes/{nid}/items/0", json={"checked": True})
|
||||
assert ticked.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.
|
||||
owner_tags = [lb["name"] for lb in (await (await app_client.get("/api/labels")).get_json())["labels"]]
|
||||
|
||||
Reference in New Issue
Block a user