mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FEATURE: basic UI to view user api keys
This commit is contained in:
@ -127,6 +127,11 @@ TXT
|
||||
uri.query = ""
|
||||
expect(uri.to_s).to eq(args[:auth_redirect] + "?")
|
||||
|
||||
# should overwrite if needed
|
||||
args["access"] = "pr"
|
||||
post :create, args
|
||||
|
||||
expect(response.code).to eq("302")
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user