X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fexception%2FHttpErrorTest.php;h=90ccd1e551d0638bb39076a0cbb6c4d4e782e202;hb=a0803c9bc551631c8a35bf2d99705a724cb62039;hp=e7f3a2108e49031519d500e67abc4729ac907fdd;hpb=734ca2b4d2a1246fb0ea1e54b861ab423ab5e257;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/exception/HttpErrorTest.php b/tests/phpunit/includes/exception/HttpErrorTest.php index e7f3a2108e..90ccd1e551 100644 --- a/tests/phpunit/includes/exception/HttpErrorTest.php +++ b/tests/phpunit/includes/exception/HttpErrorTest.php @@ -22,7 +22,7 @@ class HttpErrorTest extends MediaWikiTestCase { */ public function testGetHtml( array $expected, $content, $header ) { $httpError = new HttpError( 500, $content, $header ); - $errorHtml = $httpError->getHtml(); + $errorHtml = $httpError->getHTML(); foreach ( $expected as $key => $html ) { $this->assertContains( $html, $errorHtml, $key );