Skip to content

Commit

Permalink
add multiRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis committed Jul 31, 2016
1 parent 66f7e4f commit 0eb3b80
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions tests/DriverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,19 +315,13 @@ public function testSSL()
public function testMultiRequest()
{
$results = $this->_getClient()->multiRequest(array(
'request_1' => array(
'http://mockbin.org/request',
array(
'args' => array('key' => 'value')
),
),
'request_2' => array(
'http://mockbin.org/request',
array(
'method' => 'post',
'args' => array('key' => 'value')
)
)
'request_1' => array('http://mockbin.org/request', array(
'args' => array('key' => 'value')
)),
'request_2' => array('http://mockbin.org/request', array(
'method' => 'post',
'args' => array('key' => 'value')
))
));

/** @var Response $body1 */
Expand Down

0 comments on commit 0eb3b80

Please sign in to comment.