From: Kunal Mehta Date: Tue, 17 May 2016 20:19:37 +0000 (-0700) Subject: LinkerTest: Fix passing test description to $this->assertEquals() X-Git-Tag: 1.31.0-rc.0~6943 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22config_fonctions%22%2C%20%22image_process=%24process%22%29%20.%20%22?a=commitdiff_plain;h=c9219c4f817f277e61009d1596c7026f541dce86;p=lhc%2Fweb%2Fwiklou.git LinkerTest: Fix passing test description to $this->assertEquals() It was being passed to Linker::userLink() by accident. Change-Id: I13ba5014193e91a467511259a0c7c1659d8bc0e6 --- diff --git a/tests/phpunit/includes/LinkerTest.php b/tests/phpunit/includes/LinkerTest.php index 6edf0341d2..1bf8729058 100644 --- a/tests/phpunit/includes/LinkerTest.php +++ b/tests/phpunit/includes/LinkerTest.php @@ -15,8 +15,10 @@ class LinkerTest extends MediaWikiLangTestCase { 'wgArticlePath' => '/wiki/$1', ] ); - $this->assertEquals( $expected, - Linker::userLink( $userId, $userName, $altUserName, $msg ) + $this->assertEquals( + $expected, + Linker::userLink( $userId, $userName, $altUserName ), + $msg ); }