Aaron Schulz has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/353004 )
Change subject: Make LocalPasswordPrimaryAuthenticationProviderTest use TS_MW
timestamp conversion
......................................................................
Make LocalPasswordPrimaryAuthenticationProviderTest use TS_MW timestamp
conversion
Bug: T75174
Change-Id: I217a8e1847a21d54434693fafa7f618ec5840876
---
M tests/phpunit/includes/auth/LocalPasswordPrimaryAuthenticationProviderTest.php
1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/04/353004/1
diff --git
a/tests/phpunit/includes/auth/LocalPasswordPrimaryAuthenticationProviderTest.php
b/tests/phpunit/includes/auth/LocalPasswordPrimaryAuthenticationProviderTest.php
index b89f1e0..4d60342 100644
---
a/tests/phpunit/includes/auth/LocalPasswordPrimaryAuthenticationProviderTest.php
+++
b/tests/phpunit/includes/auth/LocalPasswordPrimaryAuthenticationProviderTest.php
@@ -509,7 +509,10 @@
$this->assertSame(
$expectExpiry,
- $dbw->selectField( 'user', 'user_password_expires', [
'user_name' => $cuser ] )
+ wfTimestampOrNull(
+ TS_MW,
+ $dbw->selectField( 'user',
'user_password_expires', [ 'user_name' => $cuser ] )
+ )
);
}
--
To view, visit https://gerrit.wikimedia.org/r/353004
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I217a8e1847a21d54434693fafa7f618ec5840876
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits