From a583ef8042ab744751046fd3d7a025aff716cc19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henning=20Glatter-G=C3=B6tz?= Date: Wed, 25 Nov 2015 16:31:15 +0100 Subject: [PATCH] Fix formatting --- .../HGG/ParameterValidator/Test/InputTest.php | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/tests/HGG/ParameterValidator/Test/InputTest.php b/tests/HGG/ParameterValidator/Test/InputTest.php index 45f4e59..7b9d76f 100644 --- a/tests/HGG/ParameterValidator/Test/InputTest.php +++ b/tests/HGG/ParameterValidator/Test/InputTest.php @@ -83,17 +83,17 @@ public function testParamterAlreadyExists() public function testParameterGetters() { - $numberParameter = new NumberParameter( - 'req-num', - Parameter::REQUIRED, - 'This is a required numeric parameter', - 'Some more details could go here', - 'RandomValidatorClass' - ); - - $this->assertEquals('This is a required numeric parameter', $numberParameter->getSummary()); - $this->assertEquals('Some more details could go here', $numberParameter->getDescription()); - $this->assertEquals('RandomValidatorClass', $numberParameter->getValidator()); + $numberParameter = new NumberParameter( + 'req-num', + Parameter::REQUIRED, + 'This is a required numeric parameter', + 'Some more details could go here', + 'RandomValidatorClass' + ); + + $this->assertEquals('This is a required numeric parameter', $numberParameter->getSummary()); + $this->assertEquals('Some more details could go here', $numberParameter->getDescription()); + $this->assertEquals('RandomValidatorClass', $numberParameter->getValidator()); } public function testSunnyDay() @@ -145,20 +145,20 @@ public function testOmitRequiredParameter() */ public function testOmitRequiredParameters() { - $def = $this->def->addParameter( - new NumberParameter( - 'req-num-2', - Parameter::REQUIRED, - 'This is a required numeric parameter', - 'Some more details could go here' - ) - ); - - $parameters = array( - 'opt-txt' => 'Some text value' - ); - - $input = new Input($parameters, $this->def); + $def = $this->def->addParameter( + new NumberParameter( + 'req-num-2', + Parameter::REQUIRED, + 'This is a required numeric parameter', + 'Some more details could go here' + ) + ); + + $parameters = array( + 'opt-txt' => 'Some text value' + ); + + $input = new Input($parameters, $this->def); } /**