🐛(admin) fix mailbox import from dimail
importing mailboxes from dimail was broken due to a change of format in dimail's response.
This commit is contained in:
committed by
Marie
parent
935058582e
commit
4f97685204
@@ -51,7 +51,7 @@ def test_dimail_synchronization__already_sync():
|
||||
rsps.add(
|
||||
rsps.GET,
|
||||
re.compile(rf".*/domains/{domain.name}/mailboxes/"),
|
||||
body=str(
|
||||
body=json.dumps(
|
||||
[
|
||||
{
|
||||
"type": "mailbox",
|
||||
@@ -129,7 +129,7 @@ def test_dimail_synchronization__synchronize_mailboxes(mock_warning):
|
||||
rsps.add(
|
||||
rsps.GET,
|
||||
re.compile(rf".*/domains/{domain.name}/mailboxes/"),
|
||||
body=str(
|
||||
body=json.dumps(
|
||||
[
|
||||
mailbox_valid,
|
||||
mailbox_with_wrong_domain,
|
||||
|
||||
Reference in New Issue
Block a user