diff --git a/misc/entity_state_test_data.py b/misc/entity_state_test_data.py index 72ffe278d0ad90cb5223966bcd52c79cd420f160..400b73749011834fb5390be2e00eebdde1a91062 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",