4648
This commit is contained in:
@@ -134,7 +134,7 @@ namespace raven_integration
|
||||
|
||||
//Only BizAdmin* roles can read a full user record
|
||||
//This search should return zero items
|
||||
a = await Util.PostAsync("search", await Util.GetTokenAsync("SubContractorLimited"), SearchParameters.ToString());
|
||||
a = await Util.PostAsync("search", await Util.GetTokenAsync("SubContractorRestricted"), SearchParameters.ToString());
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
((JArray)a.ObjectResponse["data"]["searchResults"]).Count.Should().Be(0, "User with no rights should not see any results in body search");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user