Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstambach committed Oct 21, 2024
1 parent e82ca52 commit 3acede5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion amivapi/tests/events/test_emails.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit 3acede5

Please sign in to comment.