fix Activity.get_by_id
This commit is contained in:
parent
58b17196fa
commit
d8a178274b
2 changed files with 20 additions and 4 deletions
|
|
@ -2864,6 +2864,15 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
|
|||
|
||||
assert response == %{}
|
||||
end
|
||||
|
||||
test "returns empty object when id isn't FlakeID", %{conn: conn} do
|
||||
response =
|
||||
conn
|
||||
|> get("/api/v1/statuses/3ebbadd1-eb14-4e20-8118/card")
|
||||
|> json_response(200)
|
||||
|
||||
assert response == %{}
|
||||
end
|
||||
end
|
||||
|
||||
test "bookmarks" do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue