X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fhtmlform%2FHTMLCheckMatrixTest.php;h=e7922fd2bd8bad3fe8c257431fddbdad6011cf70;hb=199df046c48a29c9ae2ea6194dad664ffc8fb9f8;hp=f97716b9e57e519022d9b20d61c996bc9921c82f;hpb=ce079cf6ad79ca8d3360817f809b219d166f9153;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/htmlform/HTMLCheckMatrixTest.php b/tests/phpunit/includes/htmlform/HTMLCheckMatrixTest.php index f97716b9e5..e7922fd2bd 100644 --- a/tests/phpunit/includes/htmlform/HTMLCheckMatrixTest.php +++ b/tests/phpunit/includes/htmlform/HTMLCheckMatrixTest.php @@ -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; }