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 "Rename canTalk methods"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
auth
/
LocalPasswordPrimaryAuthenticationProviderTest.php
diff --git
a/tests/phpunit/includes/auth/LocalPasswordPrimaryAuthenticationProviderTest.php
b/tests/phpunit/includes/auth/LocalPasswordPrimaryAuthenticationProviderTest.php
index
b89f1e0
..
4d60342
100644
(file)
--- a/
tests/phpunit/includes/auth/LocalPasswordPrimaryAuthenticationProviderTest.php
+++ b/
tests/phpunit/includes/auth/LocalPasswordPrimaryAuthenticationProviderTest.php
@@
-509,7
+509,10
@@
class LocalPasswordPrimaryAuthenticationProviderTest extends \MediaWikiTestCase
$this->assertSame(
$expectExpiry,
- $dbw->selectField( 'user', 'user_password_expires', [ 'user_name' => $cuser ] )
+ wfTimestampOrNull(
+ TS_MW,
+ $dbw->selectField( 'user', 'user_password_expires', [ 'user_name' => $cuser ] )
+ )
);
}