aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIvan Tashkinov <ivant.business@gmail.com>2019-03-26 15:09:06 +0300
committerIvan Tashkinov <ivant.business@gmail.com>2019-03-26 15:09:06 +0300
commit263ca3dea2620aa54d3b21b286e1bc1f8f3ed998 (patch)
tree6bd54a2bf76c4fc24d211fdfe7a7880f58535096 /test
parent15aa94f40f73444d67da7cb71ec219b97ec5142e (diff)
downloadpleroma-263ca3dea2620aa54d3b21b286e1bc1f8f3ed998.tar.gz
Mastodon-based auth error messages. Defaulted User#auth_active?/1 to `true`.
Diffstat (limited to 'test')
-rw-r--r--test/web/oauth/oauth_controller_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/oauth/oauth_controller_test.exs b/test/web/oauth/oauth_controller_test.exs
index ff1e56fe9..84ec7b4ee 100644
--- a/test/web/oauth/oauth_controller_test.exs
+++ b/test/web/oauth/oauth_controller_test.exs
@@ -87,7 +87,7 @@ defmodule Pleroma.Web.OAuth.OAuthControllerTest do
assert result =~ app.redirect_uris
# Error message
- assert result =~ "Permissions not specified"
+ assert result =~ "This action is outside the authorized scopes"
end
test "returns 401 for scopes beyond app scopes", %{conn: conn} do
@@ -113,7 +113,7 @@ defmodule Pleroma.Web.OAuth.OAuthControllerTest do
assert result =~ app.redirect_uris
# Error message
- assert result =~ "Permissions not specified"
+ assert result =~ "This action is outside the authorized scopes"
end
test "issues a token for an all-body request" do