diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-02-28 19:41:25 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-02-28 19:41:25 +0300 |
commit | f85ed1c521cf36a50f3758db99e23e5f4c1492d7 (patch) | |
tree | 292fad05ebe743e898447778659c33e705e14eff | |
parent | 6a71aa535b3c30c1f3832e6140a51a46a0f2514c (diff) | |
download | pleroma-f85ed1c521cf36a50f3758db99e23e5f4c1492d7.tar.gz |
warning fix
-rw-r--r-- | test/pleroma/web/mastodon_api/controllers/status_controller_test.exs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs index dd2f306b7..bd385bccd 100644 --- a/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs +++ b/test/pleroma/web/mastodon_api/controllers/status_controller_test.exs @@ -364,8 +364,8 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest 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 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest 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 |