public void InvalidAttributesMetaInfoIgnoredTest() { string json = "{\"test_properties\":{\"foo\":\"1\",\"bar\":\"2\"}}"; HttpWebResponse response = RequestHelper.HttpPatchRequest(URL.FullDiskPath + folderName, json); string actualResponseCode = response.StatusCode.ToString(); Assert.AreEqual(ResponseStatus.Ok, actualResponseCode); }
public void AddMetaInfoForFolderResponseStatusTest() { string json = "{\"custom_properties\":{\"foo\":\"1\",\"bar\":\"2\"}}"; HttpWebResponse response = RequestHelper.HttpPatchRequest(URL.FullDiskPath + folderName, json); string actualResponseStatus = response.StatusCode.ToString(); Assert.AreEqual(ResponseStatus.Ok, actualResponseStatus); }