This commit is contained in:
@@ -58,8 +58,9 @@ namespace raven_integration
|
||||
List<string> keys = new List<string>();
|
||||
keys.AddRange(new string[] { "AddressType", "ClientName", "RateName", "WorkorderService" });
|
||||
dynamic d = new JObject();
|
||||
d.localeId = 1;
|
||||
d.keys = JToken.FromObject(keys);
|
||||
//d.localeId = 1;
|
||||
//d.keys = JToken.FromObject(keys);
|
||||
d = JToken.FromObject(keys);
|
||||
|
||||
ApiResponse a = await Util.PostAsync("Locale/subset", await Util.GetTokenAsync("ClientLimited"), d.ToString());
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
@@ -142,7 +143,7 @@ namespace raven_integration
|
||||
|
||||
checkPUTWorked = await Util.PostAsync("Locale/subset", await Util.GetTokenAsync("ClientLimited"), d3.ToString());
|
||||
Util.ValidateDataReturnResponseOk(checkPUTWorked);
|
||||
Util.ValidateHTTPStatusCode(checkPUTWorked, 200);
|
||||
Util.ValidateHTTPStatusCode(checkPUTWorked, 200);
|
||||
((JArray)checkPUTWorked.ObjectResponse["data"]).Count.Should().Be(1);
|
||||
var FirstLocaleKeyUpdated = ((JArray)checkPUTWorked.ObjectResponse["data"])[0];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user