From 3acede535d0ca242cc455a1f6f71f4cfb686fbea Mon Sep 17 00:00:00 2001 From: Michael Stambach Date: Mon, 21 Oct 2024 17:59:53 +0200 Subject: [PATCH] fix tests --- amivapi/tests/events/test_emails.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/amivapi/tests/events/test_emails.py b/amivapi/tests/events/test_emails.py index a476e745..5802fb87 100644 --- a/amivapi/tests/events/test_emails.py +++ b/amivapi/tests/events/test_emails.py @@ -440,7 +440,8 @@ def test_notify_waitlist_on_signup_update(self): 'event': str(manual_event['_id']) }, status_code=201).json - self.assertTrue('was rejected' in self.app.test_mails[0]['text']) + # this results in a different email + self.assertTrue('are manually reviewed' in self.app.test_mails[0]['text']) # User manually accepted from waiting list self.api.patch('/eventsignups/%s' % manual_signup['_id'],