API & Client - fix missiing translation on api error

This commit is contained in:
Sam
2021-11-03 09:48:24 +01:00
parent fece99921b
commit c683401daa
11 changed files with 15 additions and 13 deletions

View File

@ -1038,7 +1038,7 @@ class TestDeleteUser(ApiTestCaseMixin):
assert response.status_code == 403
assert 'error' in data['status']
assert (
'You can not delete your account, no other user has admin rights.'
'you can not delete your account, no other user has admin rights'
in data['message']
)