Merge pull request #21681 from owncloud/fix-unittest

Fix unit test
This commit is contained in:
Thomas Müller 2016-01-13 12:01:02 +01:00
commit bc96fab242
1 changed files with 10 additions and 0 deletions

View File

@ -295,6 +295,16 @@ class CheckerTest extends TestCase {
}
public function testVerifyAppSignatureWithTamperedFilesAndAlternatePath() {
$this->environmentHelper
->expects($this->once())
->method('getChannel')
->will($this->returnValue('stable'));
$this->config
->expects($this->any())
->method('getSystemValue')
->with('integrity.check.disabled', false)
->will($this->returnValue(false));
$this->appLocator
->expects($this->never())
->method('getAppPath')