mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-23 01:19:27 -04:00
Update go-live message + tests
This commit is contained in:
@@ -76,9 +76,11 @@ def test_passed_non_logged_in_user_details_through_flow(client, mocker, ticket_t
|
||||
return_value=Mock(status_code=201)
|
||||
)
|
||||
|
||||
data = {'feedback': 'blah', 'name': 'Steve Irwin', 'email_address': 'rip@gmail.com'}
|
||||
|
||||
resp = client.post(
|
||||
url_for('main.feedback', ticket_type=ticket_type),
|
||||
data={'feedback': 'blah', 'name': 'Steve Irwin', 'email_address': 'rip@gmail.com'},
|
||||
data=data
|
||||
)
|
||||
|
||||
assert resp.status_code == 302
|
||||
@@ -128,7 +130,7 @@ def test_passes_user_details_through_flow(
|
||||
data={
|
||||
'department_id': ANY,
|
||||
'agent_team_id': ANY,
|
||||
'subject': 'Notify feedback',
|
||||
'subject': 'Notify feedback Test User',
|
||||
'message': ANY,
|
||||
'person_email': 'test@user.gov.uk',
|
||||
'person_name': 'Test User',
|
||||
|
||||
@@ -303,7 +303,7 @@ def test_should_redirect_after_request_to_go_live(
|
||||
mock_post.assert_called_with(
|
||||
ANY,
|
||||
data={
|
||||
'subject': 'Request to go live',
|
||||
'subject': 'Request to go live - Test Service',
|
||||
'department_id': ANY,
|
||||
'agent_team_id': ANY,
|
||||
'message': ANY,
|
||||
|
||||
Reference in New Issue
Block a user