/**
* Integration test to catch regressions like T74870. Taken and modified
* from SemanticMediaWiki
+ *
+ * @covers Title::moveTo
*/
public function testTitleMoveCompleteIntegrationTest() {
$oldTitle = Title::newFromText( 'Help:Some title' );
/**
* @dataProvider provideCdnCacheEpoch
+ * @covers OutputPage::getCdnCacheEpoch
*/
public function testCdnCacheEpoch( $params ) {
$out = TestingAccessWrapper::newFromObject( $this->newInstance() );
<?php
+/**
+ * @coversNothing Just a sample
+ */
class SampleTest extends MediaWikiLangTestCase {
/**
use Psr\Log\LoggerInterface;
use Wikimedia\TestingAccessWrapper;
+/**
+ * @covers \MediaWiki\Auth\EmailNotificationSecondaryAuthenticationProvider
+ */
class EmailNotificationSecondaryAuthenticationProviderTest extends \PHPUnit\Framework\TestCase {
public function testConstructor() {
$config = new \HashConfig( [
/**
* The rclimit preference should accept non-integer input and filter it to become an integer.
+ *
+ * @covers \MediaWiki\Preferences\DefaultPreferencesFactory::saveFormData
*/
public function testIntvalFilter() {
// Test a string with leading zeros (i.e. not octal) and spaces.