summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2017-08-10 15:34:07 +0200
committerUrban Müller2017-08-10 15:44:54 +0200
commita8b66880eb54994318c638268d3002f0cbebfe82 (patch)
tree9cae5fdab700c2e6dd0e27e5370d8c06c27f2f53
parenteb9af9b083278d869514c3437e4c4ef8e1e3f087 (diff)
downloaditools-a8b66880eb54994318c638268d3002f0cbebfe82.tar.gz
itools-a8b66880eb54994318c638268d3002f0cbebfe82.tar.bz2
itools-a8b66880eb54994318c638268d3002f0cbebfe82.zip
it_url::request now has safety 1 like everything else
-rwxr-xr-xtests/it_url.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/it_url.t b/tests/it_url.t
index 00052d6..739f808 100755
--- a/tests/it_url.t
+++ b/tests/it_url.t
@@ -173,7 +173,7 @@ handle_server(
handle_server(
is(
- it_url::get(array('url' => 'http://localhost:8000/', 'maxlength' => 5)),
+ it_url::get(array('url' => 'http://localhost:8000/', 'maxlength' => 5, 'it_error' => false)),
false,
'it_url::get() static call with port and too small maxlength'
)
@@ -197,7 +197,7 @@ handle_server(
handle_server(
is(
- it_url::get('http://localhost:8000/relative_redirect'),
+ it_url::get('url' => 'http://localhost:8000/relative_redirect', 'it_error' => false),
"Testserver output after relative redirect",
'TODO: it_url::get() follows relative redirect correctly'
)