mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
change specs to not found, as user is no longer visible for locked admin
This commit is contained in:
committed by
Oliver Günther
parent
e709bed089
commit
716dcd80db
@@ -312,7 +312,7 @@ RSpec.describe "API v3 User resource", content_type: :json do
|
||||
context "as locked admin" do
|
||||
let(:current_user) { locked_admin }
|
||||
|
||||
it_behaves_like "unauthorized access"
|
||||
it_behaves_like "not found"
|
||||
end
|
||||
|
||||
context "as non-admin" do
|
||||
|
||||
Reference in New Issue
Block a user