Jeroen De Dauw has submitted this change and it was merged.

Change subject: Add @group Database to AvailableBadgesTest
......................................................................


Add @group Database to AvailableBadgesTest

Since it extends ApiTestCase, api users get created and
added to the database. Without @group Database, they were
added to the real database instead of the test database.

Change-Id: If9f95893f4da7df72e4c963079d65ab05599c311
---
M repo/tests/phpunit/includes/api/AvailableBadgesTest.php
1 file changed, 3 insertions(+), 2 deletions(-)

Approvals:
  Jeroen De Dauw: Looks good to me, approved



diff --git a/repo/tests/phpunit/includes/api/AvailableBadgesTest.php 
b/repo/tests/phpunit/includes/api/AvailableBadgesTest.php
index f1b416e..bc54117 100644
--- a/repo/tests/phpunit/includes/api/AvailableBadgesTest.php
+++ b/repo/tests/phpunit/includes/api/AvailableBadgesTest.php
@@ -9,9 +9,10 @@
  * Tests for the AvailableBadges class.
  *
  * @group API
+ * @group Database
  * @group Wikibase
  * @group WikibaseAPI
- * @gorup WikibaseRepo
+ * @group WikibaseRepo
  * @group medium
  *
  * @licence GNU GPL v2+
@@ -47,4 +48,4 @@
                $this->assertEquals( array_keys( self::$badgeItems ), 
$result['badges'] );
        }
 
-}
\ No newline at end of file
+}

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If9f95893f4da7df72e4c963079d65ab05599c311
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Aude <aude.w...@gmail.com>
Gerrit-Reviewer: Addshore <addshorew...@gmail.com>
Gerrit-Reviewer: Jeroen De Dauw <jeroended...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to