jenkins-bot has submitted this change and it was merged. Change subject: Move TermSqlIndexTest to lib (where TermSqlIndex is) ......................................................................
Move TermSqlIndexTest to lib (where TermSqlIndex is) Change-Id: I179e95e28d8e1456d96fc5b674da17cbbd64afe8 --- R lib/tests/phpunit/store/Sql/TermSqlIndexTest.php 1 file changed, 6 insertions(+), 1 deletion(-) Approvals: Hoo man: Looks good to me, approved jenkins-bot: Verified diff --git a/repo/tests/phpunit/includes/store/sql/TermSqlIndexTest.php b/lib/tests/phpunit/store/Sql/TermSqlIndexTest.php similarity index 96% rename from repo/tests/phpunit/includes/store/sql/TermSqlIndexTest.php rename to lib/tests/phpunit/store/Sql/TermSqlIndexTest.php index 27e7882..ccf1581 100644 --- a/repo/tests/phpunit/includes/store/sql/TermSqlIndexTest.php +++ b/lib/tests/phpunit/store/Sql/TermSqlIndexTest.php @@ -17,7 +17,7 @@ * @covers Wikibase\TermSqlIndex * * @group Wikibase - * @group WikibaseRepo + * @group WikibaseLib * @group WikibaseStore * @group Database * @@ -31,6 +31,11 @@ protected function setUp() { parent::setUp(); + if ( !defined( 'WB_VERSION' ) ) { + $this->markTestSkipped( "Skipping because a local wb_terms table" + . " is not available on a WikibaseClient only instance." ); + } + $this->tablesUsed[] = 'wb_terms'; } -- To view, visit https://gerrit.wikimedia.org/r/260238 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I179e95e28d8e1456d96fc5b674da17cbbd64afe8 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Aude <aude.w...@gmail.com> Gerrit-Reviewer: Hoo man <h...@online.de> Gerrit-Reviewer: Thiemo Mättig (WMDE) <thiemo.maet...@wikimedia.de> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits