diff --git a/backend/tests/test_ap08_operating_model.py b/backend/tests/test_ap08_operating_model.py index 649574a..5a87798 100644 --- a/backend/tests/test_ap08_operating_model.py +++ b/backend/tests/test_ap08_operating_model.py @@ -255,6 +255,13 @@ def test_backlog_sort_order(client): second = _create_backlog(client, token, initiative_id, title="Second").json() assert first["sort_order"] < second["sort_order"] + # Reorder wie im Frontend: beide Geschwister sort_order neu setzen (kein Tie) + bumped = client.patch( + f"/api/backlog/{first['id']}", + json={"sort_order": 10}, + headers=_auth(token), + ) + assert bumped.status_code == 200 patched = client.patch( f"/api/backlog/{second['id']}", json={"sort_order": 0}, diff --git a/backend/version.py b/backend/version.py index c191a33..2b80c6b 100644 --- a/backend/version.py +++ b/backend/version.py @@ -1,3 +1,3 @@ -APP_VERSION = "0.16.8-ap1.12d" +APP_VERSION = "0.16.9-ap1.12d-fix" DB_SCHEMA_VERSION = "015" APP_NAME = "jinkendo-kairo"