This commit is contained in:
2020-03-18 19:09:53 +00:00
parent c7fba41692
commit a915d224d1
4 changed files with 18 additions and 18 deletions

View File

@@ -34,14 +34,14 @@ namespace raven_integration
d = JToken.FromObject(keys);
//Fetch the values to force RAVEN to track at least these two
a = await Util.PostAsync("Locale/subset", await Util.GetTokenAsync("CustomerLimited"), d.ToString());
a = await Util.PostAsync("Translation/subset", await Util.GetTokenAsync("CustomerLimited"), d.ToString());
Util.ValidateDataReturnResponseOk(a);
Util.ValidateHTTPStatusCode(a, 200);
//there should be dozens of keys but at times there might only be a few during development so at least verify there is more than one
((JArray)a.ObjectResponse["data"]).Count.Should().Be(2);
//Now ensure there are at least two keys in the fetched keys array
a = await Util.GetAsync("Locale/LocaleKeyCoverage", await Util.GetTokenAsync("CustomerLimited"));
a = await Util.GetAsync("Translation/LocaleKeyCoverage", await Util.GetTokenAsync("CustomerLimited"));
Util.ValidateDataReturnResponseOk(a);
Util.ValidateHTTPStatusCode(a, 200);