mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-16 15:21:39 -04:00
Redirect user to new tour after creating a service
We leave the existing tour routes available for the moment so we don't break the flow for anyone whilst this deploys
This commit is contained in:
@@ -75,7 +75,7 @@ def add_service():
|
||||
example_sms_template = _create_example_template(service_id)
|
||||
|
||||
return redirect(url_for(
|
||||
'main.start_tour',
|
||||
'main.begin_tour',
|
||||
service_id=service_id,
|
||||
template_id=example_sms_template['data']['id']
|
||||
))
|
||||
|
||||
@@ -144,7 +144,7 @@ def test_should_add_service_and_redirect_to_tour_when_no_services(
|
||||
},
|
||||
_expected_status=302,
|
||||
_expected_redirect=url_for(
|
||||
'main.start_tour',
|
||||
'main.begin_tour',
|
||||
service_id=101,
|
||||
template_id="Example%20text%20message%20template",
|
||||
_external=True,
|
||||
|
||||
Reference in New Issue
Block a user