✅(tests) update tests to look for dimail secret in settings
Update back-end tests to match 'secret' field being moved to settings.
This commit is contained in:
committed by
Marie
parent
ba30b1d3ee
commit
29904ef7b6
@@ -438,7 +438,7 @@ def test_api_mailboxes__secret_unrelated_to_domain():
|
||||
|
||||
assert response.status_code == status.HTTP_403_FORBIDDEN
|
||||
assert response.json() == {
|
||||
"detail": f"Secret not valid for this domain {access.domain.name}"
|
||||
"detail": "Permission denied. Please check your MAIL_PROVISIONING_API_CREDENTIALS."
|
||||
}
|
||||
assert not models.Mailbox.objects.exists()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user