logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: e8d88a72cf6633444f9056807f6e048c66cf952d
parent 4a9d3a1f28bb89d534a859562a5209543650de9c
Author: lain <lain@soykaf.club>
Date:   Sun, 28 Feb 2021 16:53:05 +0000

Merge branch 'fix/warning-in-test' into 'develop'

warning fix

See merge request pleroma/pleroma!3350

Diffstat:

Mtest/pleroma/web/mastodon_api/controllers/status_controller_test.exs8++++----
1 file 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 @@ -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