Updates migrations

To get the app working again I ran resetdb, let it crash in initdb,
then ran the migration, then re-ran initdb
This commit is contained in:
Mouse Reeve
2020-09-21 08:10:37 -07:00
parent d1f1260640
commit c7883cd615
106 changed files with 279 additions and 279 deletions

View File

@ -1,7 +1,7 @@
from django.test import TestCase
from fedireads import models, broadcast
from fedireads.settings import DOMAIN
from bookwyrm import models, broadcast
from bookwyrm.settings import DOMAIN
class Book(TestCase):
@ -31,7 +31,7 @@ class Book(TestCase):
outbox='http://example2.com/u/3/o',
inbox='http://example2.com/u/3/inbox',
shared_inbox='http://example2.com/inbox',
fedireads_user=False, local=False)
bookwyrm_user=False, local=False)
self.user.followers.add(non_fr_follower)
local_follower = models.User.objects.create_user(
@ -64,7 +64,7 @@ class Book(TestCase):
'http://example.com/u/2/inbox',
]
recipients = broadcast.get_public_recipients(self.user, software='fedireads')
recipients = broadcast.get_public_recipients(self.user, software='bookwyrm')
self.assertEqual(recipients, expected)