Merge remote-tracking branch 'upstream/pull/4434'

This commit is contained in:
Tom Hughes 2023-12-28 18:23:21 +00:00
commit fc091ff2b8
2 changed files with 11 additions and 0 deletions

View file

@ -2683,6 +2683,7 @@ en:
application: "Application"
permissions: "Permissions"
no_applications_html: "You have not yet authorized any %{oauth2} applications."
oauth_2: "OAuth 2"
application:
revoke: "Revoke Access"
confirm_revoke: "Revoke access for this application?"

View file

@ -0,0 +1,10 @@
require "application_system_test_case"
class Oauth2Test < ApplicationSystemTestCase
def test_authorized_applications
sign_in_as(create(:user))
visit oauth_authorized_applications_path
assert_text "You have not yet authorized any OAuth 2 applications."
end
end