using Xunit; using Newtonsoft.Json.Linq; using FluentAssertions; namespace raven_integration { public class DataListRights { /// /// /// [Fact] public async void InsufficentRightsShouldNotRetrieve() { //Get without rights /* "{\"error\":{\"code\":\"2004\",\"message\":\"User not authorized for this resource operation (insufficient rights)\"}}" */ ApiResponse a = await Util.GetAsync("DataList/list?DataListKey=TestWidgetDataList&Offset=0&Limit=3", await Util.GetTokenAsync("CustomerLimited")); Util.ValidateErrorCodeResponse(a, 2004, 403); } //================================================== }//eoc }//eons