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
Fix Revison typo
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
page
/
WikiPageDbTestBase.php
diff --git
a/tests/phpunit/includes/page/WikiPageDbTestBase.php
b/tests/phpunit/includes/page/WikiPageDbTestBase.php
index
f7e5bd1
..
298dc52
100644
(file)
--- a/
tests/phpunit/includes/page/WikiPageDbTestBase.php
+++ b/
tests/phpunit/includes/page/WikiPageDbTestBase.php
@@
-2048,7
+2048,7
@@
more stuff
wfTimestamp( TS_UNIX, $initialRevision->getTimestamp() ) - 1
);
wfTimestamp( TS_UNIX, $initialRevision->getTimestamp() ) - 1
);
- $olderRevison = new Revision(
+ $olderRevis
i
on = new Revision(
[
'id' => 9989,
'page' => $page->getId(),
[
'id' => 9989,
'page' => $page->getId(),
@@
-2065,7
+2065,7
@@
more stuff
]
);
]
);
- $result = $page->updateIfNewerOn( $this->db, $olderRevison );
+ $result = $page->updateIfNewerOn( $this->db, $olderRevis
i
on );
$this->assertFalse( $result );
}
$this->assertFalse( $result );
}