From: jenkins-bot Date: Tue, 2 Jan 2018 12:19:02 +0000 (+0000) Subject: Merge "Add @covers tags for more tests" X-Git-Tag: 1.31.0-rc.0~1026 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=4ad03aa11dacd2f443105e43fd1429398aa73bdc;p=lhc%2Fweb%2Fwiklou.git Merge "Add @covers tags for more tests" --- 4ad03aa11dacd2f443105e43fd1429398aa73bdc diff --cc tests/phpunit/includes/htmlform/HTMLRestrictionsFieldTest.php index 13c92e3642,57e8654535..75c93be698 --- a/tests/phpunit/includes/htmlform/HTMLRestrictionsFieldTest.php +++ b/tests/phpunit/includes/htmlform/HTMLRestrictionsFieldTest.php @@@ -1,9 -1,9 +1,12 @@@ 'restrictions' ] ); $this->assertNotEmpty( $field->getLabel(), 'has a default label' ); diff --cc tests/phpunit/includes/libs/DeferredStringifierTest.php index c3a1285e8e,82f24f7404..19dc53cb4c --- a/tests/phpunit/includes/libs/DeferredStringifierTest.php +++ b/tests/phpunit/includes/libs/DeferredStringifierTest.php @@@ -1,11 -1,11 +1,13 @@@ getMockBuilder( LoggerInterface::class )->getMock(); $logger->expects( $this->exactly( 3 ) )->method( 'info' ); diff --cc tests/phpunit/includes/utils/AvroValidatorTest.php index 902f6d96f3,4fccd3e718..caeeaabeae --- a/tests/phpunit/includes/utils/AvroValidatorTest.php +++ b/tests/phpunit/includes/utils/AvroValidatorTest.php @@@ -9,10 -9,10 +9,13 @@@ * dataprovider. */ + /** + * @covers AvroValidator + */ class AvroValidatorTest extends PHPUnit_Framework_TestCase { + + use MediaWikiCoversValidator; + public function setUp() { if ( !class_exists( 'AvroSchema' ) ) { $this->markTestSkipped( 'Avro is required to run the AvroValidatorTest' ); diff --cc tests/phpunit/includes/utils/MWCryptHashTest.php index f6503ef9ab,7ea229d345..66c8d00e3a --- a/tests/phpunit/includes/utils/MWCryptHashTest.php +++ b/tests/phpunit/includes/utils/MWCryptHashTest.php @@@ -1,13 -1,12 +1,14 @@@ markTestSkipped( 'Hash algorithm isn\'t whirlpool' );