Commit 82859fab authored by FrenchWinawer's avatar FrenchWinawer

Contact many-to-many relationship breaks test

parent f9546d3a
Pipeline #82 failed with stage
...@@ -11,12 +11,12 @@ class CampaignContactMethodTests(TestCase): ...@@ -11,12 +11,12 @@ class CampaignContactMethodTests(TestCase):
start_date='2000-01-01', start_date='2000-01-01',
end_date='2100-12-31' end_date='2100-12-31'
) )
contact = Contact( contact = Contact.objects.create(
first_name='Victor', first_name='Victor',
last_name='Hugo', last_name='Hugo',
phone='+3312345678' phone='+3312345678'
) )
campaigncontact = Contact.objects.create( campaigncontact = CampaignContact(
campaign=campaign, campaign=campaign,
contact=contact contact=contact
) )
......
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