From: Anton Khorev Date: Mon, 25 Dec 2023 02:00:51 +0000 (+0300) Subject: Add missing locale string for /oauth2/authorized_applications X-Git-Tag: live~866^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/333cce15c8118042f725e673a4bba8ac62fe9aef Add missing locale string for /oauth2/authorized_applications --- 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