make analysis happy

This commit is contained in:
Sadposter 2019-12-10 16:50:58 +00:00
parent 25f774f7c1
commit 5abee19b63

View file

@ -625,7 +625,8 @@ test "does return activities from followed users on blocked domains" do
assert activity in activities assert activity in activities
# And check that if the guy we DO follow boosts someone else from their domain, that should be hidden # And check that if the guy we DO follow boosts someone else from their domain,
# that should be hidden
another_user = insert(:user, %{ap_id: "https://#{domain}/@meanie2"}) another_user = insert(:user, %{ap_id: "https://#{domain}/@meanie2"})
bad_note = insert(:note, %{data: %{"actor" => another_user.ap_id}}) bad_note = insert(:note, %{data: %{"actor" => another_user.ap_id}})
bad_activity = insert(:note_activity, %{note: bad_note}) bad_activity = insert(:note_activity, %{note: bad_note})