forked from mirrors/bookwyrm
Fixes straggling reading view test name
This commit is contained in:
parent
ce4a57e5c9
commit
a4afbccb3a
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class ReadingViews(TestCase):
|
||||||
request = self.factory.post("")
|
request = self.factory.post("")
|
||||||
request.user = self.local_user
|
request.user = self.local_user
|
||||||
with patch("bookwyrm.models.activitypub_mixin.broadcast_task.delay"):
|
with patch("bookwyrm.models.activitypub_mixin.broadcast_task.delay"):
|
||||||
views.StartReading.as_view()(request, self.book.id)
|
views.ReadingStatus.as_view()(request, "start", self.book.id)
|
||||||
|
|
||||||
self.assertFalse(to_read_shelf.books.exists())
|
self.assertFalse(to_read_shelf.books.exists())
|
||||||
self.assertEqual(shelf.books.get(), self.book)
|
self.assertEqual(shelf.books.get(), self.book)
|
||||||
|
|
Loading…
Reference in a new issue