X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fexception%2FHttpErrorTest.php;h=90ccd1e551d0638bb39076a0cbb6c4d4e782e202;hb=1834ee3d8e2f6a8ef2067ee7925c4f561209b12f;hp=e7f3a2108e49031519d500e67abc4729ac907fdd;hpb=3071f1fad720f1773864621158a0c59b73124896;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 );