1
0
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:
Michael Dowling 2013-01-31 17:18:35 -08:00
parent 9726778e64
commit 08812f77ba
2 changed files with 3 additions and 6 deletions

View File

@ -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());

View File

@ -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'