summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-07-03 14:21:38 +0200
committerGitHub <noreply@github.com>2020-07-03 14:21:38 +0200
commit905fab3356a6a0ac355c7cb829b63cdc257d67b4 (patch)
treef9f6dad0ee6a5c43b3d112306d679182ac6aaf2d /tests
parentd203f8f985c99f78c1a9d43d938c618a435f6e9d (diff)
downloadnextcloud-server-905fab3356a6a0ac355c7cb829b63cdc257d67b4.tar.gz
nextcloud-server-905fab3356a6a0ac355c7cb829b63cdc257d67b4.zip
Revert "[stable19] Do not read certificate bundle from data dir by default"
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Http/Client/ClientTest.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/lib/Http/Client/ClientTest.php b/tests/lib/Http/Client/ClientTest.php
index bd9cab023f5..b136a0ca300 100644
--- a/tests/lib/Http/Client/ClientTest.php
+++ b/tests/lib/Http/Client/ClientTest.php
@@ -460,8 +460,9 @@ class ClientTest extends \Test\TestCase {
->with('installed', false)
->willReturn(false);
$this->certificateManager
- ->expects($this->never())
- ->method('listCertificates');
+ ->expects($this->once())
+ ->method('listCertificates')
+ ->willReturn([]);
$this->assertEquals([
'verify' => \OC::$SERVERROOT . '/resources/config/ca-bundle.crt',