From df42adeb878e2bedf2cdd8032a142fa4bfa0b196 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thiemo=20M=C3=A4ttig?= Date: Wed, 16 Nov 2016 20:48:42 +0100 Subject: [PATCH] Remove unused uses and fix @covers Change-Id: I7fea644c296ebdf921be5dcc60eec181e9446367 --- repo/tests/phpunit/maintenance/AddUnitsTest.php | 3 +-- repo/tests/phpunit/maintenance/MockAddUnits.php | 1 - repo/tests/phpunit/maintenance/UpdateUnitsTest.php | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/repo/tests/phpunit/maintenance/AddUnitsTest.php b/repo/tests/phpunit/maintenance/AddUnitsTest.php index a953194f32..a8793e7dd5 100644 --- a/repo/tests/phpunit/maintenance/AddUnitsTest.php +++ b/repo/tests/phpunit/maintenance/AddUnitsTest.php @@ -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 { diff --git a/repo/tests/phpunit/maintenance/MockAddUnits.php b/repo/tests/phpunit/maintenance/MockAddUnits.php index 11aa0377c7..186e5e6891 100644 --- a/repo/tests/phpunit/maintenance/MockAddUnits.php +++ b/repo/tests/phpunit/maintenance/MockAddUnits.php @@ -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 { diff --git a/repo/tests/phpunit/maintenance/UpdateUnitsTest.php b/repo/tests/phpunit/maintenance/UpdateUnitsTest.php index 24bb0df9d1..a1cf2bdca4 100644 --- a/repo/tests/phpunit/maintenance/UpdateUnitsTest.php +++ b/repo/tests/phpunit/maintenance/UpdateUnitsTest.php @@ -5,7 +5,7 @@ use Wikibase\UpdateUnits; /** - * @covers updateUnits.php + * @covers Wikibase\UpdateUnits * @group Wikibase */ class UpdateUnitsTest extends MediaWikiLangTestCase {