🧑‍💻(domains) change default ordering

Order by last created models MailDomain, Mailbox and MailDomainAccess.
This commit is contained in:
Sabrina Demagny
2025-02-12 10:24:13 +01:00
parent fbb4797f29
commit e55468862d
2 changed files with 5 additions and 2 deletions

View File

@@ -398,7 +398,7 @@ def test_dimail__enable_pending_mailboxes(caplog):
)
assert (
caplog.records[2].message
== f"Information for mailbox mock@{domain.name} sent to {mailbox1.secondary_email}."
== f"Information for mailbox mock@{domain.name} sent to {mailbox2.secondary_email}."
)
assert (
caplog.records[4].message
@@ -406,5 +406,5 @@ def test_dimail__enable_pending_mailboxes(caplog):
)
assert (
caplog.records[5].message
== f"Information for mailbox mock@{domain.name} sent to {mailbox2.secondary_email}."
== f"Information for mailbox mock@{domain.name} sent to {mailbox1.secondary_email}."
)