diff --git a/autotest/HttpRequest/HttpRequest.cpp b/autotest/HttpRequest/HttpRequest.cpp index 20ecf0a64..ce77d9fef 100644 --- a/autotest/HttpRequest/HttpRequest.cpp +++ b/autotest/HttpRequest/HttpRequest.cpp @@ -45,7 +45,7 @@ CONSOLE_APP_MAIN ASSERT(h.IsError()); LDUMP(h.GetError()); } - { + if(GetSysDate() > Date(2018, 9, 1)) { // Because "Resource temporarily unavailable", but let us recheck later HttpRequest h("http://dev.alt.cloudappsportal.com/_api/web/lists"); h.KeepAlive(); h.Execute(); @@ -59,14 +59,14 @@ CONSOLE_APP_MAIN r.User("user", "passw0rd"); String h = r.Execute(); DUMP(h); - ASSERT(h.Find("\"authenticated\":true") >= 0); + ASSERT(h.Find("\"authenticated\": true") >= 0); } { HttpRequest r("http://httpbin.org/digest-auth/auth/usr/pwd"); r.Digest("usr", "pwd"); String h = r.Execute(); DUMP(r.GetContent()); - ASSERT(h.Find("\"authenticated\":true") >= 0); + ASSERT(h.Find("\"authenticated\": true") >= 0); } { HttpRequest r("https://httpbin.org/bytes/0");