Email settings: Block with invalid SPF setup (#3471)

This commit is contained in:
Raphael Michel
2023-07-12 12:36:41 +02:00
committed by GitHub
parent f0913fc720
commit cff0e86fd9
4 changed files with 21 additions and 12 deletions

View File

@@ -633,7 +633,7 @@ class EventsTest(SoupTest):
},
follow=True
)
assert doc.select('.alert-warning')
assert doc.select('.alert-danger')
self.event1.settings.flush()
# not yet saved
assert "mail_from" not in self.event1.settings._cache()

View File

@@ -221,7 +221,7 @@ class OrganizerTest(SoupTest):
},
follow=True
)
assert doc.select('.alert-warning')
assert doc.select('.alert-danger')
self.orga1.settings.flush()
# not yet saved
assert "mail_from" not in self.orga1.settings._cache()