Remove test-specific method to make Bjoern and Joas happy

This commit is contained in:
Vincent Petry 2015-06-26 17:37:04 +02:00
parent eae08d0adc
commit 271ef9dedb
2 changed files with 1 additions and 10 deletions

View file

@ -71,13 +71,4 @@ class MountProviderCollection implements IMountProviderCollection, Emitter {
$this->providers[] = $provider;
$this->emit('\OC\Files\Config', 'registerMountProvider', [$provider]);
}
/**
* Clear registered providers
*
* @internal
*/
public function clear() {
$this->providers = [];
}
}

View file

@ -1900,7 +1900,7 @@ class View extends \Test\TestCase {
$this->assertNull($this->getFileLockType($view, $sourcePath, true), 'Source path not locked after operation');
$this->assertNull($this->getFileLockType($view, $targetPath, true), 'Target path not locked after operation');
$mountProviderCollection->clear();
\Test\TestCase::invokePrivate($mountProviderCollection, 'providers', [[]]);
}
/**