@@ -183,13 +183,13 @@ def test_wizard_flow_with_step_2_should_call_email_from_is_unique(
183183 assert mock_create_or_update_free_sms_fragment_limit .called is True
184184
185185
186- def test_wizard_flow_with_step_2_post_should_go_to_step_3_with_ff (
186+ def test_wizard_flow_with_step_2_post_should_go_to_step_3_with_gc_organisations (
187187 app_ : Flask ,
188188 client_request ,
189189 mock_service_email_from_is_unique ,
190190 mock_service_name_is_unique ,
191191):
192- app_ .config ["FF_SALESFORCE_CONTACT " ] = True
192+ app_ .config ["IS_GC_ORGANISATIONS " ] = True
193193 app_ .config ["CRM_ORG_LIST" ] = {"en" : ["CDS" , "TBS" ]}
194194 with client_request .session_transaction () as session :
195195 session ["add_service_form" ] = dict (default_branding = FieldWithLanguageOptions .ENGLISH_OPTION_VALUE )
@@ -227,7 +227,7 @@ def test_wizard_flow_with_step_3_should_create_service(
227227):
228228 mocker .patch ("app.service_api_client.is_service_name_unique" , return_value = True )
229229 mocker .patch ("app.service_api_client.is_service_email_from_unique" , return_value = True )
230- app_ .config ["FF_SALESFORCE_CONTACT " ] = True
230+ app_ .config ["IS_GC_ORGANISATIONS " ] = True
231231 app_ .config ["CRM_ORG_LIST" ] = {"en" : ["CDS" , "TBS" ]}
232232 with client_request .session_transaction () as session :
233233 session ["add_service_form" ] = dict (
@@ -259,7 +259,7 @@ def test_wizard_flow_with_step_3_should_not_create_service_no_parent_org(
259259 mock_create_service ,
260260 mock_create_or_update_free_sms_fragment_limit ,
261261):
262- app_ .config ["FF_SALESFORCE_CONTACT " ] = True
262+ app_ .config ["IS_GC_ORGANISATIONS " ] = True
263263 app_ .config ["CRM_ORG_LIST" ] = {"en" : ["CDS" , "TBS" ]}
264264 with client_request .session_transaction () as session :
265265 session ["add_service_form" ] = dict (
@@ -287,7 +287,7 @@ def test_wizard_flow_with_step_3b_should_create_service(
287287):
288288 mocker .patch ("app.service_api_client.is_service_name_unique" , return_value = True )
289289 mocker .patch ("app.service_api_client.is_service_email_from_unique" , return_value = True )
290- app_ .config ["FF_SALESFORCE_CONTACT " ] = True
290+ app_ .config ["IS_GC_ORGANISATIONS " ] = True
291291 app_ .config ["CRM_ORG_LIST" ] = {"en" : ["CDS" , "TBS" ]}
292292 with client_request .session_transaction () as session :
293293 session ["add_service_form" ] = dict (
@@ -316,7 +316,7 @@ def test_wizard_flow_with_step_3b_create_service_no_org(
316316 mock_create_service ,
317317 mock_create_or_update_free_sms_fragment_limit ,
318318):
319- app_ .config ["FF_SALESFORCE_CONTACT " ] = True
319+ app_ .config ["IS_GC_ORGANISATIONS " ] = True
320320 app_ .config ["CRM_ORG_LIST" ] = {"en" : ["CDS" , "TBS" ]}
321321 with client_request .session_transaction () as session :
322322 session ["add_service_form" ] = dict (
0 commit comments