Mastodon-based auth error messages. Defaulted User#auth_active?/1 to true.
This commit is contained in:
parent
15aa94f40f
commit
263ca3dea2
3 changed files with 9 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue