Fix unit test

No idea why they passed locally before as well on the branch on the PR. Scary...
This commit is contained in:
Lukas Reschke 2016-01-13 11:22:44 +01:00
parent f0c869d22e
commit 0c65f4b2c6
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')