Skip to content

Commit

Permalink
Remove unused uses and fix @Covers
Browse files Browse the repository at this point in the history
Change-Id: I7fea644c296ebdf921be5dcc60eec181e9446367
  • Loading branch information
thiemowmde committed Nov 16, 2016
1 parent b25da83 commit df42ade
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions repo/tests/phpunit/maintenance/AddUnitsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
use Wikibase\Repo\Maintenance\SPARQLClient;
use Wikibase\Repo\Tests\Rdf\NTriplesRdfTestHelper;
use Wikibase\Test\Rdf\RdfBuilderTestData;
use Wikibase\UpdateUnits;

require_once __DIR__ . '/MockAddUnits.php';

/**
* @covers updateUnits.php
* @covers Wikibase\AddUnitConversions
* @group Wikibase
*/
class AddUnitsTest extends MediaWikiLangTestCase {
Expand Down
1 change: 0 additions & 1 deletion repo/tests/phpunit/maintenance/MockAddUnits.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

use Wikibase\AddUnitConversions;
use Wikibase\Lib\UnitConverter;
use Wikibase\Rdf\Values\QuantityRdfBuilder;
use Wikibase\Repo\Maintenance\SPARQLClient;

class MockAddUnits extends AddUnitConversions {
Expand Down
2 changes: 1 addition & 1 deletion repo/tests/phpunit/maintenance/UpdateUnitsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Wikibase\UpdateUnits;

/**
* @covers updateUnits.php
* @covers Wikibase\UpdateUnits
* @group Wikibase
*/
class UpdateUnitsTest extends MediaWikiLangTestCase {
Expand Down

0 comments on commit df42ade

Please sign in to comment.