Merge "Add SPARQL client to core"
[lhc/web/wiklou.git] / tests / phpunit / includes / htmlform / HTMLCheckMatrixTest.php
index f97716b..e7922fd 100644 (file)
@@ -4,7 +4,7 @@
  * Unit tests for the HTMLCheckMatrix
  * @covers HTMLCheckMatrix
  */
-class HtmlCheckMatrixTest extends MediaWikiTestCase {
+class HTMLCheckMatrixTest extends MediaWikiTestCase {
        static private $defaultOptions = [
                'rows' => [ 'r1', 'r2' ],
                'columns' => [ 'c1', 'c2' ],
@@ -15,7 +15,7 @@ class HtmlCheckMatrixTest extends MediaWikiTestCase {
                try {
                        new HTMLCheckMatrix( [] );
                } catch ( MWException $e ) {
-                       $this->assertInstanceOf( 'HTMLFormFieldRequiredOptionsException', $e );
+                       $this->assertInstanceOf( HTMLFormFieldRequiredOptionsException::class, $e );
                        return;
                }