diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-01-13 11:22:44 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-01-13 11:22:44 +0100 |
commit | 0c65f4b2c69f6147627c0a9fad721633f5b82f1e (patch) | |
tree | a702fbf2f303efb321161e41c21f8777aefa10fc /tests | |
parent | f0c869d22ef369e2111fc8ea08f969e186993693 (diff) | |
download | nextcloud-server-0c65f4b2c69f6147627c0a9fad721633f5b82f1e.tar.gz nextcloud-server-0c65f4b2c69f6147627c0a9fad721633f5b82f1e.zip |
Fix unit test
No idea why they passed locally before as well on the branch on the PR. Scary...
Diffstat (limited to 'tests')
-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') |