mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-19 11:29:17 +00:00
Apply suggestion to test/web/pleroma_api/subscription_notification_controller_test.exs
This commit is contained in:
parent
a81f80233d
commit
015597c2ab
|
@ -50,7 +50,7 @@ test "getting a single notification", %{conn: conn, user: user, subscriber: subs
|
|||
{: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
|
||||
|
|
Loading…
Reference in a new issue