Commit 9e3804a8 authored by JB Vasseur's avatar JB Vasseur

Non-authenticated user test should not have user passed in the API call !22296

parent 9fcf6578
...@@ -105,9 +105,9 @@ describe API::Applications, :api do ...@@ -105,9 +105,9 @@ describe API::Applications, :api do
context 'non-authenticated user' do context 'non-authenticated user' do
it 'cannot list application' do it 'cannot list application' do
get api('/applications', user) get api('/applications')
expect(response).to have_http_status 403 expect(response).to have_http_status 401
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment