forked from mirrors/bookwyrm
Update test_annual_summary.py
This commit is contained in:
parent
37abf9531d
commit
8f0df388e6
1 changed files with 7 additions and 7 deletions
|
@ -37,13 +37,13 @@ class AnnualSummary(TestCase):
|
|||
pages=300,
|
||||
)
|
||||
with patch("bookwyrm.models.activitypub_mixin.broadcast_task.apply_async"):
|
||||
self.review = models.Review.objects.create(
|
||||
name="Review name",
|
||||
content="test content",
|
||||
rating=3.0,
|
||||
user=self.local_user,
|
||||
book=self.book,
|
||||
)
|
||||
self.review = models.Review.objects.create(
|
||||
name="Review name",
|
||||
content="test content",
|
||||
rating=3.0,
|
||||
user=self.local_user,
|
||||
book=self.book,
|
||||
)
|
||||
self.anonymous_user = AnonymousUser
|
||||
self.anonymous_user.is_authenticated = False
|
||||
|
||||
|
|
Loading…
Reference in a new issue