mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
commit
bc96fab242
1 changed files with 10 additions and 0 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue