Merge "Revert "Log the reason why revision->getContent() returns null""
[lhc/web/wiklou.git] / tests / phpunit / includes / htmlform / HTMLRestrictionsFieldTest.php
index 9ec4f97..c4290e1 100644 (file)
@@ -1,6 +1,12 @@
 <?php
 
-class HTMLRestrictionsFieldTest extends PHPUnit_Framework_TestCase {
+/**
+ * @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' );