always create platform admin users with webauthn in tests

This commit is contained in:
Leo Hemsted
2021-06-10 23:51:39 +01:00
parent 126f9cf6be
commit c439cafd37
4 changed files with 2 additions and 12 deletions

View File

@@ -713,7 +713,6 @@ def test_platform_admin_user_accepts_and_preserves_auth(
sample_invite['email_address'] = platform_admin_user['email_address']
sample_invite['auth_type'] = 'email_auth'
service_one['permissions'].append('email_auth')
platform_admin_user['auth_type'] = 'webauthn_auth'
mocker.patch('app.user_api_client.get_user_by_email', return_value=platform_admin_user)