dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11425ad
)
LinkerTest: Fix passing test description to $this->assertEquals()
author
Kunal Mehta
<legoktm@member.fsf.org>
Tue, 17 May 2016 20:19:37 +0000
(13:19 -0700)
committer
BryanDavis
<bdavis@wikimedia.org>
Tue, 17 May 2016 20:30:02 +0000
(20:30 +0000)
It was being passed to Linker::userLink() by accident.
Change-Id: I13ba5014193e91a467511259a0c7c1659d8bc0e6
tests/phpunit/includes/LinkerTest.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/includes/LinkerTest.php
b/tests/phpunit/includes/LinkerTest.php
index
6edf034
..
1bf8729
100644
(file)
--- 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
);
}