fix unused var warning
authorRoman Chvanikov <chvanikoff@pm.me>
Fri, 29 May 2020 20:05:03 +0000 (23:05 +0300)
committerRoman Chvanikov <chvanikoff@pm.me>
Fri, 29 May 2020 20:05:03 +0000 (23:05 +0300)
test/web/streamer/streamer_test.exs

index 4cf640ce8a4b3f2cc050deccdefc576e7f5f636e..3f012259a0a07ad1a5c514c09f70eef05d723fa9 100644 (file)
@@ -124,7 +124,7 @@ defmodule Pleroma.Web.StreamerTest do
         |> Map.put("object", activity.data["object"])
         |> 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)
 
       assert_receive {:render_with_user, Pleroma.Web.StreamerView, "update.json", ^announce}