Use defense_component property on TO model when appropriate

This commit is contained in:
Montana
2019-02-27 09:53:06 -05:00
parent f739d2d20f
commit 8621f2054b
2 changed files with 2 additions and 3 deletions

View File

@@ -209,8 +209,7 @@ def test_show_task_order_form(task_order):
task_order.creator, task_order_id=task_order.id
)
assert (
another_workflow.form.data["defense_component"]
== task_order.portfolio.defense_component
another_workflow.form.data["defense_component"] == task_order.defense_component
)