public AttributeTests() { client = new ApiClient(Resource.Base); client.AddDefaultHeader("Cache-Control", "no-cache"); api = new AttributeApi(client); httpClient = new HttpClient(); httpClient.BaseAddress = new Uri(Resource.Base); httpClient.DefaultRequestHeaders.Add("Cache-Control", "no-cache"); }
public void Init() { base.CommonInit(); instance = client.Attribute; base.CreateSampleDatabaseForTests(); string path = Constants.AF_ATTRIBUTE_PATH; string selectedFields = null; webId = instance.GetByPath(path, selectedFields).WebId; }