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
Remove Revision::getRevisionText and gated pre-MCR schema access
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
Revision
/
PreMcrRevisionStoreDbTest.php
diff --git
a/tests/phpunit/includes/Revision/PreMcrRevisionStoreDbTest.php
b/tests/phpunit/includes/Revision/PreMcrRevisionStoreDbTest.php
index
011c79e
..
468ab60
100644
(file)
--- a/
tests/phpunit/includes/Revision/PreMcrRevisionStoreDbTest.php
+++ b/
tests/phpunit/includes/Revision/PreMcrRevisionStoreDbTest.php
@@
-89,4
+89,14
@@
class PreMcrRevisionStoreDbTest extends RevisionStoreDbTestBase {
];
}
+ /**
+ * Conditions to use together with getSlotsQueryInfo() when selecting slot rows for a given
+ * revision.
+ *
+ * @return array
+ */
+ protected function getSlotRevisionConditions( $revId ) {
+ return [ 'rev_id' => $revId ];
+ }
+
}