Add pagination to users admin API
[akkoma] / test / web / mastodon_api / status_view_test.exs
index 0dc9c538cb5b255cfa624e315feabda0c2a1db42..3412a6be2e0c81550fc4f6ee397ebdd2b7e93f69 100644 (file)
@@ -81,7 +81,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
     expected = %{
       id: to_string(note.id),
       uri: note.data["object"]["id"],
-      url: note.data["object"]["id"],
+      url: Pleroma.Web.Router.Helpers.o_status_url(Pleroma.Web.Endpoint, :notice, note),
       account: AccountView.render("account.json", %{user: user}),
       in_reply_to_id: nil,
       in_reply_to_account_id: nil,