diff --git a/test/Client/CommonHttpTests.php b/test/Client/CommonHttpTests.php index 511e9b5c00..3a157fd9c5 100644 --- a/test/Client/CommonHttpTests.php +++ b/test/Client/CommonHttpTests.php @@ -16,6 +16,7 @@ use Zend\Http\Client\Adapter\Exception as AdapterException; use Zend\Http\Request; use Zend\Http\Response; +use Zend\Stdlib\Parameters; /** @@ -994,7 +995,7 @@ public function testUsesProvidedArgSeparator() $this->client->setArgSeparator(';'); $request = new Request(); $request->setUri('http://framework.zend.com'); - $request->setQuery(array('foo' => 'bar', 'baz' => 'bat')); + $request->setQuery(new Parameters(array('foo' => 'bar', 'baz' => 'bat'))); $this->client->send($request); $rawRequest = $this->client->getLastRawRequest(); $this->assertContains('?foo=bar;baz=bat', $rawRequest);