From ddb0b576ee45f937efd7f15e01b89412504c6972 Mon Sep 17 00:00:00 2001 From: vincent porte Date: Tue, 28 Jan 2025 11:12:22 +0100 Subject: [PATCH] fixup! update EmailLastSeen wen saving UpVote --- lacommunaute/forum_conversation/tests/tests_shortcuts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lacommunaute/forum_conversation/tests/tests_shortcuts.py b/lacommunaute/forum_conversation/tests/tests_shortcuts.py index 79d015978..170a096d6 100644 --- a/lacommunaute/forum_conversation/tests/tests_shortcuts.py +++ b/lacommunaute/forum_conversation/tests/tests_shortcuts.py @@ -50,7 +50,7 @@ def test_topic_has_two_posts_requested_by_authenticated_user(self): def test_topic_has_been_upvoted(self): topic = TopicFactory(with_post=True) post = PostFactory(topic=topic) - UpVoteFactory(content_object=post) + UpVoteFactory(content_object=post, voter=post.poster) posts = get_posts_of_a_topic_except_first_one(topic, AnonymousUser()) post = posts.first()