warning fix
This commit is contained in:
parent
6a71aa535b
commit
f85ed1c521
@ -364,8 +364,8 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do
|
|||||||
|
|
||||||
%Pleroma.Web.OAuth.Token{
|
%Pleroma.Web.OAuth.Token{
|
||||||
app: %Pleroma.Web.OAuth.App{
|
app: %Pleroma.Web.OAuth.App{
|
||||||
client_name: _app_name,
|
client_name: app_name,
|
||||||
website: _app_website
|
website: app_website
|
||||||
}
|
}
|
||||||
} = token
|
} = token
|
||||||
|
|
||||||
@ -379,8 +379,8 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do
|
|||||||
assert %{
|
assert %{
|
||||||
"content" => "cofe is my copilot",
|
"content" => "cofe is my copilot",
|
||||||
"application" => %{
|
"application" => %{
|
||||||
"name" => app_name,
|
"name" => ^app_name,
|
||||||
"website" => app_website
|
"website" => ^app_website
|
||||||
}
|
}
|
||||||
} = json_response_and_validate_schema(result, 200)
|
} = json_response_and_validate_schema(result, 200)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user