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
Merge "jquery.migrate: Instrument with mw.track()"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
MWTimestampTest.php
diff --git
a/tests/phpunit/includes/MWTimestampTest.php
b/tests/phpunit/includes/MWTimestampTest.php
index
4bca478
..
c1a46fe
100644
(file)
--- a/
tests/phpunit/includes/MWTimestampTest.php
+++ b/
tests/phpunit/includes/MWTimestampTest.php
@@
-23,7
+23,7
@@
class MWTimestampTest extends MediaWikiLangTestCase {
$expectedOutput, // The expected output
$desc // Description
) {
$expectedOutput, // The expected output
$desc // Description
) {
- $user = $this->
get
Mock( 'User' );
+ $user = $this->
create
Mock( 'User' );
$user->expects( $this->any() )
->method( 'getOption' )
->with( 'timecorrection' )
$user->expects( $this->any() )
->method( 'getOption' )
->with( 'timecorrection' )
@@
-156,7
+156,7
@@
class MWTimestampTest extends MediaWikiLangTestCase {
$expectedOutput, // The expected output
$desc // Description
) {
$expectedOutput, // The expected output
$desc // Description
) {
- $user = $this->
get
Mock( 'User' );
+ $user = $this->
create
Mock( 'User' );
$user->expects( $this->any() )
->method( 'getOption' )
->with( 'timecorrection' )
$user->expects( $this->any() )
->method( 'getOption' )
->with( 'timecorrection' )