Update tests to use proper route
Pass portfolio and creator to TOFactory so user has perms to edit TO
This commit is contained in:
@@ -51,7 +51,4 @@ def test_review_task_order_draft(client, user_session, task_order):
|
||||
url_for("task_orders.review_task_order", task_order_id=task_order.id)
|
||||
)
|
||||
assert response.status_code == 302
|
||||
assert (
|
||||
url_for("task_orders.form_step_one_add_pdf", task_order_id=task_order.id)
|
||||
in response.location
|
||||
)
|
||||
assert url_for("task_orders.edit", task_order_id=task_order.id) in response.location
|
||||
|
Reference in New Issue
Block a user