mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 18:22:37 -04:00
Fix tests for pages using govukCheckboxField
These fields used to use govukCheckboxesField and so stored their data in a list. They were since migrated to govukCheckboxField, which extends BooleanField and so keeps its data as a boolean value.
This commit is contained in:
@@ -1101,9 +1101,11 @@ def test_user_cant_invite_themselves(
|
||||
service_id=SERVICE_ONE_ID,
|
||||
_data={
|
||||
'email_address': active_user_with_permissions['email_address'],
|
||||
'send_messages': 'y',
|
||||
'manage_service': 'y',
|
||||
'manage_api_keys': 'y',
|
||||
'permissions_field': [
|
||||
'send_messages',
|
||||
'manage_service',
|
||||
'manage_api_keys'
|
||||
]
|
||||
},
|
||||
_follow_redirects=True,
|
||||
_expected_status=200,
|
||||
|
||||
Reference in New Issue
Block a user