From 6f7e29a7730553573c79bc7eecf45a6b2c409f3f Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Thu, 21 Aug 2014 22:47:24 -0700 Subject: [PATCH] Make ApiModuleManagerTest::testAddModules un-risky Change-Id: Idbea51cf45fc95676759e5ac9abb342701e5b551 --- tests/phpunit/includes/api/ApiModuleManagerTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/phpunit/includes/api/ApiModuleManagerTest.php b/tests/phpunit/includes/api/ApiModuleManagerTest.php index 19c0a7d7ad..201eed188c 100644 --- a/tests/phpunit/includes/api/ApiModuleManagerTest.php +++ b/tests/phpunit/includes/api/ApiModuleManagerTest.php @@ -101,6 +101,8 @@ class ApiModuleManagerTest extends MediaWikiTestCase { $this->assertTrue( $moduleManager->isDefined( $name, $group ), 'isDefined' ); $this->assertNotNull( $moduleManager->getModule( $name, $group, true ), 'getModule' ); } + + $this->assertTrue( true ); // Don't mark the test as risky if $modules is empty } public function getModuleProvider() { -- 2.20.1