Sfoglia il codice sorgente

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

warning fix

See merge request pleroma/pleroma!3350
add-assets-to-static-file-constants
lain 3 anni fa
parent
commit
e8d88a72cf
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. +4
    -4
      test/pleroma/web/mastodon_api/controllers/status_controller_test.exs

+ 4
- 4
test/pleroma/web/mastodon_api/controllers/status_controller_test.exs Vedi File

@@ -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


Loading…
Annulla
Salva