From 5255abb2afef7e048410e6dd8e338e6b2be46ae7 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 16 Mar 2022 17:55:41 -0700 Subject: [PATCH] Fixes create book view unit test --- bookwyrm/tests/views/books/test_edit_book.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/tests/views/books/test_edit_book.py b/bookwyrm/tests/views/books/test_edit_book.py index cfb0d7668..cabfe972d 100644 --- a/bookwyrm/tests/views/books/test_edit_book.py +++ b/bookwyrm/tests/views/books/test_edit_book.py @@ -60,7 +60,7 @@ class EditBookViews(TestCase): def test_edit_book_create_page(self): """there are so many views, this just makes sure it LOADS""" - view = views.EditBook.as_view() + view = views.CreateBook.as_view() request = self.factory.get("") request.user = self.local_user request.user.is_superuser = True