From 39594f8de8b11f9c6da2ae580f02eb2379b19c91 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 18 Sep 2018 14:20:16 +0000 Subject: [PATCH] --- test/raven-integration/Locale/RequestedLocaleKeys.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); } }