warning fix
This commit is contained in:
parent
6a71aa535b
commit
f85ed1c521
1 changed files with 4 additions and 4 deletions
|
@ -364,8 +364,8 @@ test "discloses application metadata when enabled" do
|
|||
|
||||
%Pleroma.Web.OAuth.Token{
|
||||
app: %Pleroma.Web.OAuth.App{
|
||||
client_name: _app_name,
|
||||
website: _app_website
|
||||
client_name: app_name,
|
||||
website: app_website
|
||||
}
|
||||
} = token
|
||||
|
||||
|
@ -379,8 +379,8 @@ test "discloses application metadata when enabled" do
|
|||
assert %{
|
||||
"content" => "cofe is my copilot",
|
||||
"application" => %{
|
||||
"name" => app_name,
|
||||
"website" => app_website
|
||||
"name" => ^app_name,
|
||||
"website" => ^app_website
|
||||
}
|
||||
} = json_response_and_validate_schema(result, 200)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue