Jeroen De Dauw has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/110890

Change subject: Remove bad test case
......................................................................

Remove bad test case

Change-Id: Ia51b1e0917d6ac2405fbd6b4469c5795d11e77e6
---
D lib/tests/phpunit/store/SiteLinkLookupTest.php
1 file changed, 0 insertions(+), 51 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/90/110890/1

diff --git a/lib/tests/phpunit/store/SiteLinkLookupTest.php 
b/lib/tests/phpunit/store/SiteLinkLookupTest.php
deleted file mode 100644
index d632348..0000000
--- a/lib/tests/phpunit/store/SiteLinkLookupTest.php
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-
-namespace Wikibase\Test;
-
-use Wikibase\Item;
-use Wikibase\SiteLinkLookup;
-use Wikibase\Client\WikibaseClient;
-use Wikibase\StoreFactory;
-
-/**
- * Tests for the Wikibase\SiteLinkLookup implementing classes.
- *
- * @since 0.1
- *
- * @group Wikibase
- * @group WikibaseLib
- * @group WikibaseStore
- * @group Database
- *
- * @licence GNU GPL v2+
- * @author Jeroen De Dauw < [email protected] >
- */
-class SiteLinkLookupTest extends \MediaWikiTestCase {
-
-       public function instanceProvider() {
-               $instances = array();
-
-               if ( defined( 'WB_VERSION' ) ) {
-                       $instances[] = StoreFactory::getStore( 'sqlstore' 
)->newSiteLinkCache();
-               }
-
-               if ( defined( 'WBC_VERSION' ) ) {
-                       $instances[] = 
WikibaseClient::getDefaultInstance()->getStore( 'sqlstore' 
)->getSiteLinkTable();
-               }
-
-               if ( empty( $instances ) ) {
-                       $this->markTestIncomplete( 'No sitelink lookup tables 
available' );
-               }
-
-               return $this->arrayWrap( $instances );
-       }
-
-       /**
-        * @dataProvider instanceProvider
-        */
-       public function testGetConflictsForItem( SiteLinkLookup $lookup ) {
-               $conflicts = $lookup->getConflictsForItem( Item::newEmpty() );
-               $this->assertTrue( $conflicts === array() );
-       }
-
-}

-- 
To view, visit https://gerrit.wikimedia.org/r/110890
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia51b1e0917d6ac2405fbd6b4469c5795d11e77e6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to