Commit 7e69888a authored by Flavio TARSETTI's avatar Flavio TARSETTI

[tests][ui][registration] update tests to match account email more

accurate description
parent 2aeb38a8
Pipeline #47163 passed with stage
in 15 minutes and 59 seconds
......@@ -4,7 +4,7 @@ Your supervisee {{ supervisee.username }} ({{supervisee.first_name}} {{supervise
If he's still your current supervisee, you can drop this message.
However if he's not your supervisee anymore, you can immediately revoke your supervision by clicking on the following link, which expires on {{ expiry_date }}:
However if the user is not your supervisee anymore, you can immediately revoke your supervision by clicking on the following link, which expires on {{ expiry_date }}:
{{ supervisor_rejection_url }}
......
......@@ -117,7 +117,7 @@ class EmailSendingTestCase(ViewTestCase, AccountTestMixin):
kwargs={"hash_url": generate_url_hash()},
)
)
generated_url = text_lines[16]
generated_url = text_lines[17]
self.assertTrue(prefix in generated_url)
self.assertEqual(
......@@ -153,7 +153,7 @@ class EmailSendingTestCase(ViewTestCase, AccountTestMixin):
self.assertEqual(len(mail.outbox), 2)
text_lines = mail.outbox[0].body.split("\n")
generated_url = text_lines[16]
generated_url = text_lines[17]
self.assertTrue(prefix in generated_url)
self.assertEqual(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment