MediaWiki REL1_33
MediaWikiVersionFetcherTest.php
Go to the documentation of this file.
1<?php
2
14
15 use MediaWikiCoversValidator;
16
17 public function testReturnsResult() {
18 $versionFetcher = new MediaWikiVersionFetcher();
19 $this->assertSame( MW_VERSION, $versionFetcher->fetchVersion() );
20 }
21
22}
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
const MW_VERSION
The running version of MediaWiki.
Definition Defines.php:39
Note: this is not a unit test, as it touches the file system and reads an actual file.
Provides access to MediaWiki's version without requiring MediaWiki (or anything else) being loaded fi...