- Added spaces after if/foreach/catch - Added new line before end of file - Added or removed spaces before/after parenthesis, comma - Added spaces around string concat Change-Id: I0590070f1b3542108e242730e8d9a3ba9831e94f
21 lines
593 B
PHP
21 lines
593 B
PHP
<?php
|
|
|
|
/**
|
|
* Note: this is not a unit test, as it touches the file system and reads an actual file.
|
|
* If unit tests are added for MediaWikiVersionFetcher, this should be done in a distinct test case.
|
|
*
|
|
* @covers MediaWikiVersionFetcher
|
|
*
|
|
* @group ComposerHooks
|
|
*
|
|
* @licence GNU GPL v2+
|
|
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
|
|
*/
|
|
class MediaWikiVersionFetcherTest extends PHPUnit_Framework_TestCase {
|
|
|
|
public function testReturnsResult() {
|
|
$versionFetcher = new MediaWikiVersionFetcher();
|
|
$this->assertInternalType( 'string', $versionFetcher->fetchVersion() );
|
|
}
|
|
|
|
}
|