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

This commit is contained in:
Tom Hughes 2024-08-30 17:46:00 +01:00
commit 2666294abb

View file

@ -53,6 +53,16 @@ class Oauth2ApplicationsControllerTest < ActionDispatch::IntegrationTest
assert_select "tbody tr", 2
end
def test_index_with_moderator_app
user = create(:user)
create(:oauth_application, :owner => user, :scopes => "write_redactions")
session_for(user)
get oauth_applications_path
assert_response :success
end
def test_new
user = create(:user)