Merge pull request #16730 from owncloud/LukasReschke-patch-1

Fix unit tests
This commit is contained in:
Thomas Müller 2015-06-03 17:18:06 +02:00
commit 8d860e564a
1 changed files with 2 additions and 2 deletions

View File

@ -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');