From: Tom Hughes Date: Thu, 28 Dec 2023 18:23:21 +0000 (+0000) Subject: Merge remote-tracking branch 'upstream/pull/4434' X-Git-Tag: live~371 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/fc091ff2b8e526c4e162489db8ac1b0f0e5a8118?hp=460b8c1de243b518ee2ef9481292ec690213e623 Merge remote-tracking branch 'upstream/pull/4434' --- diff --git a/config/locales/en.yml b/config/locales/en.yml index fa10f018f..14e9b5c44 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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?" diff --git a/test/system/oauth2_test.rb b/test/system/oauth2_test.rb new file mode 100644 index 000000000..ab4964052 --- /dev/null +++ b/test/system/oauth2_test.rb @@ -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