mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-22 06:05:34 -06:00
.autotest
git-svn-id: svn://ultimatepp.org/upp/trunk@12132 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
02bae3849c
commit
ea4a247d95
1 changed files with 3 additions and 3 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue