From: Roman Chvanikov Date: Tue, 17 Sep 2019 13:43:15 +0000 (+0000) Subject: Apply suggestion to test/web/pleroma_api/subscription_notification_controller_test.exs X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=015597c2abbd9a78df76903bb2c3d229bf11e958;p=akkoma Apply suggestion to test/web/pleroma_api/subscription_notification_controller_test.exs --- diff --git a/test/web/pleroma_api/subscription_notification_controller_test.exs b/test/web/pleroma_api/subscription_notification_controller_test.exs index ee495f112..781d27ead 100644 --- a/test/web/pleroma_api/subscription_notification_controller_test.exs +++ b/test/web/pleroma_api/subscription_notification_controller_test.exs @@ -50,7 +50,7 @@ defmodule Pleroma.Web.PleromaAPI.SubscriptionNotificationControllerTest do {:ok, _activity} = CommonAPI.post(user, %{"status" => status_text}) [notification] = Repo.all(SubscriptionNotification) - path = subscription_notification_path(conn, :get, id: notification.id) + path = subscription_notification_path(conn, :get, notification) conn = conn