Merge pull request #1265 from bookwyrm-social/generated-notes-activitystream

Fixes generated notes not appearing in books stream
This commit is contained in:
Mouse Reeve
2021-08-07 16:11:28 -06:00
committed by GitHub
2 changed files with 25 additions and 13 deletions

View File

@ -47,7 +47,8 @@ class InboxCreate(TestCase):
}
models.SiteSettings.objects.create()
def test_create_status(self, _):
@patch("bookwyrm.activitystreams.ActivityStream.add_status")
def test_create_status(self, *_):
"""the "it justs works" mode"""
datafile = pathlib.Path(__file__).parent.joinpath(
"../../data/ap_quotation.json"