Merge pull request #16730 from owncloud/LukasReschke-patch-1
Fix unit tests
This commit is contained in:
commit
8d860e564a
|
@ -81,7 +81,7 @@ class ManagerTest extends TestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @expectedException \OC\Encryption\Exceptions\ModuleDoesNotExistsException
|
* @expectedException \OC\Encryption\Exceptions\ModuleDoesNotExistsException
|
||||||
* @expectedExceptionMessage Module with id: unknown does not exists.
|
* @expectedExceptionMessage Module with id: unknown does not exist.
|
||||||
*/
|
*/
|
||||||
public function testGetEncryptionModuleUnknown() {
|
public function testGetEncryptionModuleUnknown() {
|
||||||
$this->config->expects($this->any())->method('getAppValue')->willReturn(true);
|
$this->config->expects($this->any())->method('getAppValue')->willReturn(true);
|
||||||
|
@ -195,7 +195,7 @@ class ManagerTest extends TestCase {
|
||||||
//
|
//
|
||||||
// /**
|
// /**
|
||||||
// * @expectedException \OC\Encryption\Exceptions\ModuleDoesNotExistsException
|
// * @expectedException \OC\Encryption\Exceptions\ModuleDoesNotExistsException
|
||||||
// * @expectedExceptionMessage Module with id: unknown does not exists.
|
// * @expectedExceptionMessage Module with id: unknown does not exist.
|
||||||
// */
|
// */
|
||||||
// public function testGetEncryptionModuleUnknown() {
|
// public function testGetEncryptionModuleUnknown() {
|
||||||
// $config = $this->getMock('\OCP\IConfig');
|
// $config = $this->getMock('\OCP\IConfig');
|
||||||
|
|
Loading…
Reference in New Issue