Merge "Add @covers tags for more tests"
[lhc/web/wiklou.git] / tests / phpunit / includes / htmlform / HTMLRestrictionsFieldTest.php
index 57e8654..75c93be 100644 (file)
@@ -4,6 +4,9 @@
  * @covers HTMLRestrictionsField
  */
 class HTMLRestrictionsFieldTest extends PHPUnit_Framework_TestCase {
+
+       use MediaWikiCoversValidator;
+
        public function testConstruct() {
                $field = new HTMLRestrictionsField( [ 'fieldname' => 'restrictions' ] );
                $this->assertNotEmpty( $field->getLabel(), 'has a default label' );