mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-14 10:17:55 +00:00
edits v1
This commit is contained in:
1 parent
1040a7efcc
commit
7baf33aea0
2 files changed
+3
-3
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user