diff --git a/test/raven-integration/Locale/RequestedLocaleKeys.cs b/test/raven-integration/Locale/RequestedLocaleKeys.cs index d1c23b8d..4a658446 100644 --- a/test/raven-integration/Locale/RequestedLocaleKeys.cs +++ b/test/raven-integration/Locale/RequestedLocaleKeys.cs @@ -8,13 +8,13 @@ using System.Collections.Concurrent; namespace raven_integration { - public class RequestedKeys + public class RequestedLocaleKeys { [Fact] - public async void RequestedKeysWorks() + public async void RequestedLocaleKeysWorks() { //First determine if there is a requested key route because it's debug build dependent //And doesn't exists if server was not debug built @@ -41,11 +41,11 @@ namespace raven_integration ((JArray)a.ObjectResponse["result"]).Count.Should().Be(2); //Now ensure there are at least two keys in the fetched keys array - a = await Util.PostAsync("Locale/RequestedKeyList", await Util.GetTokenAsync("ClientLimited"), d.ToString()); + a = await Util.GetAsync("Locale/RequestedKeyList", await Util.GetTokenAsync("ClientLimited")); 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["result"]).Count.Should().Be(2); + ((JArray)a.ObjectResponse["result"]).Count.Should().BeGreaterOrEqualTo(2); } }