jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/354469 )
Change subject: Don't expect TestSites to be there in dumpRdfTest
......................................................................
Don't expect TestSites to be there in dumpRdfTest
Change-Id: If46c8e05d7190bc333e7bb72e5bdfdc70fb9eeb1
---
M repo/tests/phpunit/maintenance/dumpRdfTest.php
1 file changed, 9 insertions(+), 0 deletions(-)
Approvals:
WMDE-leszek: Looks good to me, but someone else must approve
Lucie Kaffee: Looks good to me, but someone else must approve
jenkins-bot: Verified
Thiemo Mättig (WMDE): Looks good to me, approved
diff --git a/repo/tests/phpunit/maintenance/dumpRdfTest.php
b/repo/tests/phpunit/maintenance/dumpRdfTest.php
index 45a80fc..7ea9173 100644
--- a/repo/tests/phpunit/maintenance/dumpRdfTest.php
+++ b/repo/tests/phpunit/maintenance/dumpRdfTest.php
@@ -44,12 +44,21 @@
* @covers Wikibase\DumpRdf
*
* @group Wikibase
+ * @group Database
*
* @license GPL-2.0+
* @author Addshore
*/
class DumpRdfTest extends MediaWikiLangTestCase {
+ protected function setUp() {
+ parent::setUp();
+
+ // Needed because SiteLinksRdfBuilder is constructed from
global state
+ // in WikibaseRepo.entitytypes.php.
+ TestSites::insertIntoDb();
+ }
+
public function testScript() {
$dumpScript = new DumpRdf();
--
To view, visit https://gerrit.wikimedia.org/r/354469
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If46c8e05d7190bc333e7bb72e5bdfdc70fb9eeb1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Hoo man <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: Lucie Kaffee <[email protected]>
Gerrit-Reviewer: Smalyshev <[email protected]>
Gerrit-Reviewer: Thiemo Mättig (WMDE) <[email protected]>
Gerrit-Reviewer: WMDE-leszek <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits