projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'whole-word-filter-hotfix' into 'develop'
[akkoma]
/
test
/
web
/
mastodon_api
/
controllers
/
app_controller_test.exs
diff --git
a/test/web/mastodon_api/controllers/app_controller_test.exs
b/test/web/mastodon_api/controllers/app_controller_test.exs
index e7b11d14e1461fa910f72ddd73c8b5359a4f5b21..a0b8b126c9536594ba307b875bfa41ff7477bb78 100644
(file)
--- a/
test/web/mastodon_api/controllers/app_controller_test.exs
+++ b/
test/web/mastodon_api/controllers/app_controller_test.exs
@@
-27,7
+27,7
@@
defmodule Pleroma.Web.MastodonAPI.AppControllerTest do
"vapid_key" => Push.vapid_config() |> Keyword.get(:public_key)
}
"vapid_key" => Push.vapid_config() |> Keyword.get(:public_key)
}
- assert expected == json_response(conn, 200)
+ assert expected == json_response
_and_validate_schema
(conn, 200)
end
test "creates an oauth app", %{conn: conn} do
end
test "creates an oauth app", %{conn: conn} do
@@
-55,6
+55,6
@@
defmodule Pleroma.Web.MastodonAPI.AppControllerTest do
"vapid_key" => Push.vapid_config() |> Keyword.get(:public_key)
}
"vapid_key" => Push.vapid_config() |> Keyword.get(:public_key)
}
- assert expected == json_response(conn, 200)
+ assert expected == json_response
_and_validate_schema
(conn, 200)
end
end
end
end