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 "Fix more UnitTests for databases that do not use integer timestamps"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
api
/
ApiEditPageTest.php
diff --git
a/tests/phpunit/includes/api/ApiEditPageTest.php
b/tests/phpunit/includes/api/ApiEditPageTest.php
index
da5eb33
..
1efbaea
100644
(file)
--- a/
tests/phpunit/includes/api/ApiEditPageTest.php
+++ b/
tests/phpunit/includes/api/ApiEditPageTest.php
@@
-344,7
+344,7
@@
class ApiEditPageTest extends ApiTestCase {
$dbw = wfGetDB( DB_MASTER );
$dbw->update( 'revision',
- array( 'rev_timestamp' => $
timestamp
),
+ array( 'rev_timestamp' => $
dbw->timestamp( $timestamp )
),
array( 'rev_id' => $page->getLatest() ) );
$page->clear();