Skip to content

Commit

Permalink
modify test to succeed
Browse files Browse the repository at this point in the history
  • Loading branch information
CJGutz committed Aug 29, 2023
1 parent a6b68d6 commit 309bc4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions applications/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ def test_forms(self):
mail.outbox[0].subject, "[Hackerspace NTNU] Søknad er registrert!"
)
self.assertEqual(mail.outbox[0].to[0], data.get("email"))
self.assertEqual(
mail.outbox[0].body,
self.assertIn(
"""Hei Testesson Test!
Dette er en bekreftelse på at din søknad er registrert.
Expand All @@ -119,4 +118,5 @@ def test_forms(self):
Mvh,
Styret i Hackerspace NTNU
""",
mail.outbox[0].body,
)

0 comments on commit 309bc4f

Please sign in to comment.