mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-23 15:55:04 +01:00
Merge branch 'hotfix/streamer-test-unused-var-warning' into 'develop'
fix unused var warning in streamer test See merge request pleroma/pleroma!2612
This commit is contained in:
commit
f361264e1a
@ -124,7 +124,7 @@ defmodule Pleroma.Web.StreamerTest do
|
|||||||
|> Map.put("object", activity.data["object"])
|
|> Map.put("object", activity.data["object"])
|
||||||
|> Map.put("actor", user.ap_id)
|
|> Map.put("actor", user.ap_id)
|
||||||
|
|
||||||
{:ok, %Pleroma.Activity{data: data, local: false} = announce} =
|
{:ok, %Pleroma.Activity{data: _data, local: false} = announce} =
|
||||||
Pleroma.Web.ActivityPub.Transmogrifier.handle_incoming(data)
|
Pleroma.Web.ActivityPub.Transmogrifier.handle_incoming(data)
|
||||||
|
|
||||||
assert_receive {:render_with_user, Pleroma.Web.StreamerView, "update.json", ^announce}
|
assert_receive {:render_with_user, Pleroma.Web.StreamerView, "update.json", ^announce}
|
||||||
|
Loading…
Reference in New Issue
Block a user