dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add @covers tags for Collation tests
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
mail
/
MailAddressTest.php
diff --git
a/tests/phpunit/includes/mail/MailAddressTest.php
b/tests/phpunit/includes/mail/MailAddressTest.php
index
39b6f9f
..
c837d26
100644
(file)
--- a/
tests/phpunit/includes/mail/MailAddressTest.php
+++ b/
tests/phpunit/includes/mail/MailAddressTest.php
@@
-17,7
+17,7
@@
class MailAddressTest extends MediaWikiTestCase {
if ( wfIsWindows() ) {
$this->markTestSkipped( 'This test only works on non-Windows platforms' );
}
if ( wfIsWindows() ) {
$this->markTestSkipped( 'This test only works on non-Windows platforms' );
}
- $user = $this->
get
Mock( 'User' );
+ $user = $this->
create
Mock( 'User' );
$user->expects( $this->any() )->method( 'getName' )->will(
$this->returnValue( 'UserName' )
);
$user->expects( $this->any() )->method( 'getName' )->will(
$this->returnValue( 'UserName' )
);