Adds mock to inbox test

This commit is contained in:
Mouse Reeve 2021-08-07 14:46:33 -07:00
parent cce7d9a648
commit 2eb37663b6

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"