wiki.techinc.nl/tests/phpunit/includes/XmlJsTest.php
umherirrender f153998317 Fixed spacing
- Removed double spaces
- Added space after if/switch/foreach
- Removed space on elseif
- Added space around parentheses
- Added newline at end of file
- Removed space before semicolon at end of line

Change-Id: Id40b87e04786c6111e6686d7f7eea1e588bdf37d
2013-11-19 19:03:54 +01:00

24 lines
385 B
PHP

<?php
/**
* @group Xml
*/
class XmlJs extends MediaWikiTestCase {
/**
* @covers XmlJsCode::__construct
* @dataProvider provideConstruction
*/
public function testConstruction( $value ) {
$obj = new XmlJsCode( $value );
$this->assertEquals( $value, $obj->value );
}
public function provideConstruction() {
return array(
array( null ),
array( '' ),
);
}
}