Add missing user kwarg

This commit is contained in:
Sonny Bakker 2024-10-13 09:47:16 +02:00
parent 34546e49cf
commit 138b847b18

View file

@ -505,7 +505,7 @@ class NestedCategoryPostView(TestCase):
def test_posts(self):
category = CategoryFactory.create(user=self.user)
rule = FeedFactory(category=category)
rule = FeedFactory(category=category, user=self.user)
FeedPostFactory.create_batch(size=10, rule=rule, read=False)
FeedPostFactory.create_batch(size=10, rule=rule, read=True)