diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-12-20 17:40:33 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-12-20 17:40:33 -0500 |
commit | a957195952e2c93177628ab07936d783da1388c3 (patch) | |
tree | 8dbd836fa5727ec2cc4cc199eb925cd58a7223fd /tests/units/Core | |
parent | a4f258b26c9d7a04ec8f3775f1028e647f179f7d (diff) |
Add test case for ExternalTaskManager::getProvidersList()
Diffstat (limited to 'tests/units/Core')
-rw-r--r-- | tests/units/Core/ExternalTask/ExternalTaskManagerTest.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/units/Core/ExternalTask/ExternalTaskManagerTest.php b/tests/units/Core/ExternalTask/ExternalTaskManagerTest.php index e6f4e069..8eec64de 100644 --- a/tests/units/Core/ExternalTask/ExternalTaskManagerTest.php +++ b/tests/units/Core/ExternalTask/ExternalTaskManagerTest.php @@ -41,4 +41,10 @@ class ExternalTaskManagerTest extends Base $expected = array('MyProvider1' => 'MyProvider1', 'MyProvider2' => 'MyProvider2'); $this->assertEquals($expected, $providers); } + + public function testGetProviderListWithNoProviders() + { + $manager = new ExternalTaskManager(); + $this->assertSame(array(), $manager->getProvidersList()); + } } |