Capitalize "tombstone"
[akkoma] / test / web / activity_pub / activity_pub_controller_test.exs
index b4af2df5ae8c7ce183c9da3eb49ef28ed086f176..faeace0160022167c2efb69e4e3ca69a428a44fa 100644 (file)
@@ -23,10 +23,10 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubControllerTest do
     test "with the relay disabled, it returns 404", %{conn: conn} do
       Pleroma.Config.put([:instance, :allow_relay], false)
 
-      res =
-        conn
-        |> get(activity_pub_path(conn, :relay))
-        |> json_response(404)
+      conn
+      |> get(activity_pub_path(conn, :relay))
+      |> json_response(404)
+      |> assert
 
       Pleroma.Config.put([:instance, :allow_relay], true)
     end