* Remove redundant @licence/@license from test suite files. They already have full licence headers. And @licence raises a warning in Doxygen. * Fix weird messes of comments inside comments and other things. Change-Id: I38da8ca76330f72b8dc22b0ecf1ea69d5ea55ede
20 lines
569 B
PHP
20 lines
569 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
|
|
*
|
|
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
|
|
*/
|
|
class MediaWikiVersionFetcherTest extends PHPUnit_Framework_TestCase {
|
|
|
|
public function testReturnsResult() {
|
|
$versionFetcher = new MediaWikiVersionFetcher();
|
|
$this->assertInternalType( 'string', $versionFetcher->fetchVersion() );
|
|
}
|
|
|
|
}
|