Remove test-specific method to make Bjoern and Joas happy
This commit is contained in:
parent
eae08d0adc
commit
271ef9dedb
2 changed files with 1 additions and 10 deletions
|
@ -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 = [];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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', [[]]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue