diff options
-rw-r--r-- | tests/lib/integritycheck/checkertest.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/lib/integritycheck/checkertest.php b/tests/lib/integritycheck/checkertest.php index b02849abb1d..eee9299e6af 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') |