From 0c65f4b2c69f6147627c0a9fad721633f5b82f1e Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Wed, 13 Jan 2016 11:22:44 +0100 Subject: [PATCH] Fix unit test No idea why they passed locally before as well on the branch on the PR. Scary... --- tests/lib/integritycheck/checkertest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/lib/integritycheck/checkertest.php b/tests/lib/integritycheck/checkertest.php index b02849abb1..eee9299e6a 100644 --- a/tests/lib/integritycheck/checkertest.php +++ b/tests/lib/integritycheck/checkertest.php @@ -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')