Skip to content

Commit 80c3a89

Browse files
Copilotnbulaj
andauthored
test: strengthen API mode redirect_uri assertion to check error= key
Agent-Logs-Url: https://github.com/doorkeeper-gem/doorkeeper/sessions/ba408183-296e-467b-a623-be19597424ae Co-authored-by: nbulaj <1443426+nbulaj@users.noreply.github.com>
1 parent 009c5fa commit 80c3a89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/controllers/authorizations_controller_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def query_params
392392
end
393393

394394
it "includes redirect_uri with error info" do
395-
expect(response_json_body["redirect_uri"]).to include("unauthorized_client")
395+
expect(response_json_body["redirect_uri"]).to include("error=unauthorized_client")
396396
end
397397

398398
it "does not issue any access token" do

0 commit comments

Comments
 (0)