From 9fd38efa1fa6cbfc68c3b97cab873a18025e7987 Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Tue, 23 Nov 2021 14:19:04 +0100 Subject: [PATCH] fix error in misc/entity_state_test_data.py --- misc/entity_state_test_data.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/misc/entity_state_test_data.py b/misc/entity_state_test_data.py index 72ffe278..400b7374 100755 --- a/misc/entity_state_test_data.py +++ b/misc/entity_state_test_data.py @@ -153,9 +153,8 @@ def setup_state_model(): "Transition").add_property("from", "under review").add_property("to", "unpublished").insert() # 1->1 - db.Record("Edit").add_parent( - "Transition", - description="Edit this entity. The changes are not publicly available until this entity will have been reviewed and published.").add_property( + db.Record("Edit", description="Edit this entity. The changes are not publicly available until this entity will have been reviewed and published.").add_parent( + "Transition").add_property( "from", "unpublished").add_property( "to", -- GitLab