Commit c80ed97d authored by Bengfort's avatar Bengfort
Browse files

fix test: no attributeset, but recruitable

parent 7cdfe2fb
Pipeline #5273 passed with stages
in 18 minutes and 32 seconds
......@@ -44,6 +44,8 @@ def test_guardian_mail_add_to_study(client, user):
contact1 = baker.make(Contact, email="example1@example.com")
contact2 = baker.make(Contact, guardians=[contact1])
baker.make(AttributeSet, subject=contact2.subject)
contact1.subject.no_recruitment = True
contact1.subject.save()
study.members.add(user)
view = MailRecruitmentView()
......
Supports Markdown
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