summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChristian Schneider2024-04-25 09:07:40 +0200
committerChristian Schneider2024-04-25 09:07:40 +0200
commit07bd4d876ac027853e5dc4f0fca0481c35cc4932 (patch)
treed5324638358173bb5281d611256edd3b7ff34412 /test
parentd4bd73f98063ebbdf6c6f5ce94252360de901c9a (diff)
downloaditools-07bd4d876ac027853e5dc4f0fca0481c35cc4932.tar.gz
itools-07bd4d876ac027853e5dc4f0fca0481c35cc4932.tar.bz2
itools-07bd4d876ac027853e5dc4f0fca0481c35cc4932.zip
Revert "Switch it_url::get('assoc' => true) to always return non-empty array including at least the HTTP status code"
This reverts commit d4bd73f98063ebbdf6c6f5ce94252360de901c9a.
Diffstat (limited to 'test')
-rwxr-xr-xtest/it_url.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/it_url.t b/test/it_url.t
index 47064b5..568feda 100755
--- a/test/it_url.t
+++ b/test/it_url.t
@@ -272,7 +272,7 @@ $output = handle_server(
$output = handle_server(
is(
it::filter_keys(it_url::get(['url' => "http://$host/not_found_with_body", 'empty_on_fail' => true, 'it_error' => false, 'assoc' => true]), 'status,data'),
- ['status' => 404, 'data' => null],
+ [],
'it_url::get() on 404 with body, empty_on_fail and assoc'
)
);