diff --git a/app/controllers/oauth2_applications_controller.rb b/app/controllers/oauth2_applications_controller.rb index 107af2ec0..0de534f12 100644 --- a/app/controllers/oauth2_applications_controller.rb +++ b/app/controllers/oauth2_applications_controller.rb @@ -19,6 +19,8 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # class Oauth2ApplicationsController < Doorkeeper::ApplicationsController + menu_item :applications + private def application_params diff --git a/test/system/oauth_provider_test.rb b/test/system/oauth_provider_test.rb index 470f11a2d..95a4fe0c8 100644 --- a/test/system/oauth_provider_test.rb +++ b/test/system/oauth_provider_test.rb @@ -18,6 +18,8 @@ class OauthProviderSystemTest < ApplicationSystemTestCase within 'div#admin-menu ul' do click_link 'Applications' end + assert_selector 'div#admin-menu a.applications.selected' + click_link 'New Application' fill_in 'Name', with: 'Oauth Test'