Skip to content
Permalink
Browse files

Fix coverage

  • Loading branch information...
Westin Shafer Westin Shafer
Westin Shafer authored and Westin Shafer committed Sep 14, 2017
1 parent 1ded05c commit 8d6fdddc910ddd48124b949eb916fa31b23b283c
Showing with 12 additions and 4 deletions.
  1. +0 −4 src/Config/MainConfig.php
  2. +12 −0 tests/FlySystemManagerTest.php
@@ -101,10 +101,6 @@ protected function buildAdaptorConfigs()
protected function buildCacheConfigs()
{
if (empty($this->config['flysystem']['caches'])) {
return;
}
foreach ($this->config['flysystem']['caches'] as $name => $cache) {
$this->cache[$name] = new CacheConfig($cache);
}
@@ -329,4 +329,16 @@ public function testGetManager()
$this->assertInstanceOf(MountManager::class, $fileSystem);
}
public function testGetAdaptorManager()
{
$result = $this->manager->getAdaptorManager();
$this->assertEquals($this->mockContainer, $result);
}
public function testGetCacheManager()
{
$result = $this->manager->getCacheManager();
$this->assertEquals($this->mockContainer, $result);
}
}

0 comments on commit 8d6fddd

Please sign in to comment.
You can’t perform that action at this time.