From c460f910459ffe2ede8ca294f6b425cc46aa7be9 Mon Sep 17 00:00:00 2001 From: graham-dds Date: Thu, 16 Jan 2020 11:59:43 -0500 Subject: [PATCH] CLIN data should be submitted with {prefix}-number --- tests/routes/task_orders/test_new.py | 4 ++-- tests/test_access.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/routes/task_orders/test_new.py b/tests/routes/task_orders/test_new.py index a7f5a991..446376b7 100644 --- a/tests/routes/task_orders/test_new.py +++ b/tests/routes/task_orders/test_new.py @@ -219,7 +219,7 @@ def test_task_orders_submit_form_step_three_add_clins(client, user_session, task user_session(task_order.portfolio.owner) form_data = { "clins-0-jedi_clin_type": "JEDI_CLIN_1", - "clins-0-clin_number": "12312", + "clins-0-number": "12312", "clins-0-start_date": "01/01/2020", "clins-0-end_date": "01/01/2021", "clins-0-obligated_amount": "5000", @@ -269,7 +269,7 @@ def test_task_orders_submit_form_step_three_add_clins_existing_to( user_session(task_order.portfolio.owner) form_data = { "clins-0-jedi_clin_type": "JEDI_CLIN_1", - "clins-0-clin_number": "12312", + "clins-0-number": "12312", "clins-0-start_date": "01/01/2020", "clins-0-end_date": "01/01/2021", "clins-0-obligated_amount": "5000", diff --git a/tests/test_access.py b/tests/test_access.py index 375c5e7e..19a8bec3 100644 --- a/tests/test_access.py +++ b/tests/test_access.py @@ -668,7 +668,7 @@ def test_task_orders_new_post_routes(post_url_assert_status): "task_orders.submit_form_step_three_add_clins", { "clins-0-jedi_clin_type": "JEDI_CLIN_1", - "clins-0-clin_number": "12312", + "clins-0-number": "12312", "clins-0-start_date": "01/01/2020", "clins-0-end_date": "01/01/2021", "clins-0-obligated_amount": "5000",