forked from mirrors/bookwyrm
Test that remote user is being set on books
This commit is contained in:
parent
db09ca4331
commit
dd0aa7a123
1 changed files with 1 additions and 0 deletions
|
@ -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 """
|
||||||
|
|
Loading…
Reference in a new issue