mirror of
https://github.com/guzzle/guzzle.git
synced 2025-02-25 02:22:57 +01:00
Fixing some formatting
This commit is contained in:
parent
9726778e64
commit
08812f77ba
@ -91,7 +91,7 @@ abstract class AbstractVisitorTestCase extends \Guzzle\Tests\GuzzleTestCase
|
||||
'required' => true,
|
||||
'default' => 'bar',
|
||||
'filters' => array('strtoupper')
|
||||
)),
|
||||
)),
|
||||
'arr' => new Parameter(array(
|
||||
'type' => 'array',
|
||||
'location' => 'query',
|
||||
@ -99,9 +99,9 @@ abstract class AbstractVisitorTestCase extends \Guzzle\Tests\GuzzleTestCase
|
||||
'required' => true,
|
||||
'default' => array(123, 456, 789),
|
||||
'filters' => array(array('method' => 'implode', 'args' => array(',', '@value')))
|
||||
))
|
||||
))
|
||||
)
|
||||
));
|
||||
));
|
||||
$command = new OperationCommand(array(), $operation);
|
||||
$command->setClient(new MockClient());
|
||||
|
||||
|
@ -38,11 +38,8 @@ class QueryVisitorTest extends AbstractVisitorTestCase
|
||||
public function testFiltersAreAppliedToArrayParamType()
|
||||
{
|
||||
$command = $this->getCommandWithArrayParamAndFilters();
|
||||
|
||||
$request = $command->prepare();
|
||||
|
||||
$query = $request->getQuery();
|
||||
|
||||
// param type 'string'
|
||||
$this->assertEquals('BAR', $query->get('Foo'));
|
||||
// param type 'array'
|
||||
|
Loading…
x
Reference in New Issue
Block a user