X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fhtmlform%2FHTMLCheckMatrixTest.php;h=e7922fd2bd8bad3fe8c257431fddbdad6011cf70;hb=ee56f00ddf0609082f8ae9a4dc3e6e1b6f54ddfd;hp=c1aa1d7109bb623b35abe1911f836fd1e4471c22;hpb=1a40e0cc86b6ee0706606ded3ea243dfde4a414c;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/htmlform/HTMLCheckMatrixTest.php b/tests/phpunit/includes/htmlform/HTMLCheckMatrixTest.php index c1aa1d7109..e7922fd2bd 100644 --- a/tests/phpunit/includes/htmlform/HTMLCheckMatrixTest.php +++ b/tests/phpunit/includes/htmlform/HTMLCheckMatrixTest.php @@ -15,7 +15,7 @@ class HTMLCheckMatrixTest extends MediaWikiTestCase { try { new HTMLCheckMatrix( [] ); } catch ( MWException $e ) { - $this->assertInstanceOf( 'HTMLFormFieldRequiredOptionsException', $e ); + $this->assertInstanceOf( HTMLFormFieldRequiredOptionsException::class, $e ); return; }