This commit is contained in:
Pavel committed 2026-08-20 11:37:29 +02:00
1 parent 1040a7efcc
commit 7baf33aea0
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -380,6 +380,6 @@ def test_import_with_null_workflow_keeps_published_but_clears_draft(pg_conn):
# Draft agent: explicit null clears the link.
AgentsRepository(pg_conn).update(str(agent["id"]), user, {"status": "draft"})
result = apply_import(pg_conn, user, doc)
apply_import(pg_conn, user, doc)
updated = AgentsRepository(pg_conn).get(str(agent["id"]), user)
assert updated["workflow_id"] is None