Test that remote user is being set on books

This commit is contained in:
Mouse Reeve 2021-04-22 08:08:03 -07:00
parent db09ca4331
commit dd0aa7a123

View file

@ -132,6 +132,7 @@ class InboxUpdate(TestCase):
) )
book = models.Edition.objects.get(id=book.id) book = models.Edition.objects.get(id=book.id)
self.assertEqual(book.title, "Piranesi") self.assertEqual(book.title, "Piranesi")
self.assertEqual(book.last_edited_by, self.remote_user)
def test_update_work(self): def test_update_work(self):
""" update an existing edition """ """ update an existing edition """