Change POST /settings/applications/:id
to regenerate token on scopes change (#23359)
Fixes #23096
This commit is contained in:
parent
6a5e447753
commit
20a479ff7c
2 changed files with 8 additions and 2 deletions
|
@ -132,7 +132,7 @@ describe Settings::ApplicationsController do
|
|||
end
|
||||
|
||||
it 'redirects back to applications page' do
|
||||
expect(call_update).to redirect_to(settings_applications_path)
|
||||
expect(call_update).to redirect_to(settings_application_path(app))
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue