diff options
-rwxr-xr-x | tests/it_url.t | 2 | ||||
-rwxr-xr-x | tests/it_url_slow.t | 2 |
2 files changed, 2 insertions, 2 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'); diff --git a/tests/it_url_slow.t b/tests/it_url_slow.t index 1dc3d78..68d68c1 100755 --- a/tests/it_url_slow.t +++ b/tests/it_url_slow.t @@ -53,7 +53,7 @@ if (!$res || !$res2) handle_server( ok( - it_url::get(U('http://localhost:8000/repeat', 'string' => "abc", array('num' => 1024 * 1024))) == str_repeat("abc", 1024 * 1024), + it_url::get(U('http://localhost:8000/repeat', array('string' => "abc", 'num' => 1024 * 1024))) == str_repeat("abc", 1024 * 1024), 'it_url::get() handles large response' ) ); |