X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FEditPageTest.php;h=8f0826b5e6840773372ce70f56a7c02410dc2843;hb=45da5815517c408bafed6b3744766860afdcd7b8;hp=65c5d65a4b3a8e51e381c7e8ed8d1655289b4d96;hpb=31495b9e60e01438f5906cb24d484599e4930e66;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/EditPageTest.php b/tests/phpunit/includes/EditPageTest.php index 65c5d65a4b..8f0826b5e6 100644 --- a/tests/phpunit/includes/EditPageTest.php +++ b/tests/phpunit/includes/EditPageTest.php @@ -717,7 +717,7 @@ hello $ep->importFormData( $req ); $this->setExpectedException( - 'MWException', + MWException::class, 'This content model is not supported: testing' );