mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 08:36:32 +00:00
Fixes incoming user test
This commit is contained in:
parent
79973687d5
commit
e72c3e11dd
1 changed files with 1 additions and 1 deletions
|
@ -464,7 +464,7 @@ class Incoming(TestCase):
|
|||
'data/ap_user.json')
|
||||
userdata = json.loads(datafile.read_bytes())
|
||||
del userdata['icon']
|
||||
self.assertEqual(self.local_user.name, '')
|
||||
self.assertIsNone(self.local_user.name)
|
||||
incoming.handle_update_user({'object': userdata})
|
||||
user = models.User.objects.get(id=self.local_user.id)
|
||||
self.assertEqual(user.name, 'MOUSE?? MOUSE!!')
|
||||
|
|
Loading…
Reference in a new issue