Skip to content

Commit

Permalink
Ajoute un test case pour les problèmes de duplication de clef
Browse files Browse the repository at this point in the history
  • Loading branch information
fdambrine committed Oct 8, 2020
1 parent ae1ddb7 commit acc27d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zds/notification/tests/tests_tricky.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def test_no_emails_for_those_who_have_other_things_in_that_place(self):

def test_follow_by_email_after_normal(self):
forum = ForumFactory(category=ForumCategoryFactory())
user = ProfileFactory()
user = ProfileFactory().user
subsription = NewTopicSubscription.objects.toggle_follow(forum, user)
self.assertIsNotNone(subsription)
new_subsription = NewTopicSubscription.objects.toggle_follow(forum, user, by_email=True)
Expand Down

0 comments on commit acc27d6

Please sign in to comment.