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
Add tablesUsed to RevisionStoreDbTest
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
Storage
/
RevisionStoreDbTest.php
diff --git
a/tests/phpunit/includes/Storage/RevisionStoreDbTest.php
b/tests/phpunit/includes/Storage/RevisionStoreDbTest.php
index
e33de20
..
6c90854
100644
(file)
--- a/
tests/phpunit/includes/Storage/RevisionStoreDbTest.php
+++ b/
tests/phpunit/includes/Storage/RevisionStoreDbTest.php
@@
-34,6
+34,14
@@
use WikitextContent;
*/
class RevisionStoreDbTest extends MediaWikiTestCase {
*/
class RevisionStoreDbTest extends MediaWikiTestCase {
+ public function setUp() {
+ parent::setUp();
+ $this->tablesUsed[] = 'archive';
+ $this->tablesUsed[] = 'page';
+ $this->tablesUsed[] = 'revision';
+ $this->tablesUsed[] = 'comment';
+ }
+
/**
* @return LoadBalancer
*/
/**
* @return LoadBalancer
*/
@@
-44,7
+52,7
@@
class RevisionStoreDbTest extends MediaWikiTestCase {
->getMock();
$lb->method( 'reallyOpenConnection' )->willReturnCallback(
->getMock();
$lb->method( 'reallyOpenConnection' )->willReturnCallback(
- function ( array $server, $dbNameOverride
= false
) {
+ function ( array $server, $dbNameOverride ) {
return $this->getDatabaseMock( $server );
}
);
return $this->getDatabaseMock( $server );
}
);