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 "StringUtils: Add a utility for checking if a string is a valid regex"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
RevisionTest.php
diff --git
a/tests/phpunit/includes/RevisionTest.php
b/tests/phpunit/includes/RevisionTest.php
index
d62e4c7
..
249fa78
100644
(file)
--- a/
tests/phpunit/includes/RevisionTest.php
+++ b/
tests/phpunit/includes/RevisionTest.php
@@
-281,7
+281,6
@@
class RevisionTest extends MediaWikiTestCase {
* @covers \MediaWiki\Revision\RevisionStore::newMutableRevisionFromArray
*/
public function testConstructFromRowWithBadPageId() {
* @covers \MediaWiki\Revision\RevisionStore::newMutableRevisionFromArray
*/
public function testConstructFromRowWithBadPageId() {
- $this->overrideMwServices();
Wikimedia\suppressWarnings();
$rev = new Revision( (object)[
'rev_page' => 77777777,
Wikimedia\suppressWarnings();
$rev = new Revision( (object)[
'rev_page' => 77777777,
@@
-602,8
+601,6
@@
class RevisionTest extends MediaWikiTestCase {
* @covers Revision::loadFromTitle
*/
public function testLoadFromTitle() {
* @covers Revision::loadFromTitle
*/
public function testLoadFromTitle() {
- $this->setMwGlobals( 'wgActorTableSchemaMigrationStage', SCHEMA_COMPAT_NEW );
- $this->overrideMwServices();
$title = $this->getMockTitle();
$conditions = [
$title = $this->getMockTitle();
$conditions = [
@@
-853,8
+850,7
@@
class RevisionTest extends MediaWikiTestCase {
);
$cacheKey = $cache->makeGlobalKey(
);
$cacheKey = $cache->makeGlobalKey(
- 'BlobStore',
- 'address',
+ 'SqlBlobStore-blob',
$lb->getLocalDomainID(),
'tt:7777'
);
$lb->getLocalDomainID(),
'tt:7777'
);