Fixed test

This commit is contained in:
Antoine Nguyen
2025-07-26 19:08:32 +02:00
parent b3ed8bd0a3
commit 74c2e482a8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -558,7 +558,7 @@ class ThemeAPITestCase(ModoAPITestCase):
response = self.client.get(url)
self.assertEqual(response.status_code, 200)
theme = response.json()
self.assertEqual(theme["theme_primary_color"], "#FF00000")
self.assertEqual(theme["theme_primary_color"], "#FF0000")
class NewsFeedAPIViewTestCase(ModoAPITestCase):
+1 -1
View File
@@ -134,7 +134,7 @@ def send_mail(request, attributes: dict, attachments: list) -> tuple[bool, str |
{
"backend": "modoboa.lib.smtp_backend.OAuthBearerEmailBackend",
"username": request.user.email,
"password": request.auth,
"password": str(request.auth),
}
)
else: