diff options
author | Ivan Tashkinov <ivant.business@gmail.com> | 2019-03-26 15:09:06 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivant.business@gmail.com> | 2019-03-26 15:09:06 +0300 |
commit | 263ca3dea2620aa54d3b21b286e1bc1f8f3ed998 (patch) | |
tree | 6bd54a2bf76c4fc24d211fdfe7a7880f58535096 /test | |
parent | 15aa94f40f73444d67da7cb71ec219b97ec5142e (diff) | |
download | pleroma-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.exs | 4 |
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 |