Fixes create book view unit test

This commit is contained in:
Mouse Reeve 2022-03-16 17:55:41 -07:00
parent 68dc5962ee
commit 5255abb2af

View file

@ -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