General cleanup of Parser tests
[lhc/web/wiklou.git] / tests / phpunit / includes / FormOptionsInitializationTest.php
index 99f8fb7..fb2304d 100644 (file)
@@ -46,15 +46,15 @@ class FormOptionsInitializationTest extends MediaWikiTestCase {
        }
 
        public function testAddStringOption() {
-               $this->object->add( 'foo', 'string value' ); 
+               $this->object->add( 'foo', 'string value' );
                $this->assertEquals(
                        array(
                                'foo' => array(
-                                       'default'  => 'string value',
+                                       'default' => 'string value',
                                        'consumed' => false,
-                                       'type'   => FormOptions::STRING,
-                                       'value' => null,
-                                       )
+                                       'type' => FormOptions::STRING,
+                                       'value' => null,
+                               )
                        ),
                        $this->object->getOptions()
                );
@@ -66,20 +66,19 @@ class FormOptionsInitializationTest extends MediaWikiTestCase {
                $this->assertEquals(
                        array(
                                'negone' => array(
-                                       'default'  => -1,
-                                       'value' => null,
+                                       'default' => -1,
+                                       'value' => null,
                                        'consumed' => false,
-                                       'type'   => FormOptions::INT,
-                                       ),
+                                       'type' => FormOptions::INT,
+                               ),
                                'one' => array(
-                                       'default'  => 1,
-                                       'value' => null,
+                                       'default' => 1,
+                                       'value' => null,
                                        'consumed' => false,
-                                       'type'   => FormOptions::INT,
-                                       )
+                                       'type' => FormOptions::INT,
+                               )
                        ),
                        $this->object->getOptions()
                );
        }
-
 }