update
This commit is contained in:
@@ -78,6 +78,13 @@ def test_tombstone(client):
|
||||
assert client.get("/api/notes", headers=AUTH).json() == []
|
||||
|
||||
|
||||
def test_ordner_laufen_mit(client):
|
||||
r = sync(client, folders=[{"id": "Projekte/Alt", "updated": "2026-09-19T10:00:00.000Z", "deleted": False}])
|
||||
assert r["folders"][0]["id"] == "Projekte/Alt"
|
||||
r = sync(client, since=1, folders=[{"id": "Projekte/Alt", "updated": "2026-09-19T10:05:00.000Z", "deleted": True}])
|
||||
assert r["folders"][0]["deleted"] is True
|
||||
|
||||
|
||||
def test_seit_cursor_liefert_nur_neues(client):
|
||||
sync(client, events=[{"id": "e1", "updated": "2026-09-19T10:00:00.000Z", "title": "a"}])
|
||||
sync(client, events=[{"id": "e2", "updated": "2026-09-19T10:00:00.000Z", "title": "b"}])
|
||||
|
||||
Reference in New Issue
Block a user