mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 08:36:32 +00:00
Don't try to fetch reviews for remote user in test
This commit is contained in:
parent
ef9acaf878
commit
c6a61abf79
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class User(TestCase):
|
||||||
with patch('bookwyrm.models.user.set_remote_server.delay'):
|
with patch('bookwyrm.models.user.set_remote_server.delay'):
|
||||||
user = models.User.objects.create_user(
|
user = models.User.objects.create_user(
|
||||||
'rat', 'rat@rat.rat', 'ratword', local=False,
|
'rat', 'rat@rat.rat', 'ratword', local=False,
|
||||||
remote_id='https://example.com/dfjkg')
|
remote_id='https://example.com/dfjkg', bookwyrm_user=False)
|
||||||
self.assertEqual(user.username, 'rat@example.com')
|
self.assertEqual(user.username, 'rat@example.com')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue