summaryrefslogtreecommitdiff
path: root/tests/it_url.t
diff options
context:
space:
mode:
authorUrban Müller2015-08-10 16:06:24 +0200
committerUrban Müller2015-08-10 16:06:24 +0200
commitb26fcf8a18d32a49728516d4cdcb41c4f2ae8c93 (patch)
treeb4ad87b615558cb2460a45df872787200fe7e741 /tests/it_url.t
parent28ddc800b720c62fe2acc12e2bce88c0b4efaad8 (diff)
downloaditools-b26fcf8a18d32a49728516d4cdcb41c4f2ae8c93.tar.gz
itools-b26fcf8a18d32a49728516d4cdcb41c4f2ae8c93.tar.bz2
itools-b26fcf8a18d32a49728516d4cdcb41c4f2ae8c93.zip
php 5.3 compatibility
Diffstat (limited to 'tests/it_url.t')
-rwxr-xr-xtests/it_url.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/it_url.t b/tests/it_url.t
index 514593c..5cb2b29 100755
--- a/tests/it_url.t
+++ b/tests/it_url.t
@@ -231,7 +231,7 @@ handle_server(
)
);
-$pages = it_url::get_multi('urls' => array('a' => 'http://www.gna.ch/', 'b' => 'http://search.ch/'));
+$pages = it_url::get_multi(array('urls' => array('a' => 'http://www.gna.ch/', 'b' => 'http://search.ch/')));
ok(strpos($pages['a'], '</html>'), 'it_url::get_multi got first url'); # UTF8SAFE
ok(strpos($pages['b'], '</html>'), 'it_url::get_multi got second url'); # UTF8SAFE
is(count($pages), 2, 'it_url::get_multi no additional array elements');