From 08812f77ba4b73a4bf3863f2897195db5b075fec Mon Sep 17 00:00:00 2001 From: Michael Dowling Date: Thu, 31 Jan 2013 17:18:35 -0800 Subject: [PATCH] Fixing some formatting --- .../LocationVisitor/Request/AbstractVisitorTestCase.php | 6 +++--- .../Command/LocationVisitor/Request/QueryVisitorTest.php | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/AbstractVisitorTestCase.php b/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/AbstractVisitorTestCase.php index 354cbb6c..6873f9ed 100644 --- a/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/AbstractVisitorTestCase.php +++ b/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/AbstractVisitorTestCase.php @@ -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()); diff --git a/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/QueryVisitorTest.php b/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/QueryVisitorTest.php index de7cdb99..a6e58512 100644 --- a/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/QueryVisitorTest.php +++ b/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/QueryVisitorTest.php @@ -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'