aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Http/Client/ClientTest.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-05-25 19:48:00 +0200
committerGitHub <noreply@github.com>2020-05-25 19:48:00 +0200
commita6b0bed5857c9384ca5537a30c633ab832b083e1 (patch)
tree3a0985d97134172e3ba14fb9caaaf1d811d3fb88 /tests/lib/Http/Client/ClientTest.php
parentd695bad205d1f9af7c27f9607db54175d9899dc0 (diff)
parent18b0d753f2d76da10fefbf9a34e22dfdcbdc93b0 (diff)
downloadnextcloud-server-a6b0bed5857c9384ca5537a30c633ab832b083e1.tar.gz
nextcloud-server-a6b0bed5857c9384ca5537a30c633ab832b083e1.zip
Merge pull request #21090 from nextcloud/bug/noid/do-not-read-cert-from-datadir-by-default
Do not read certificate bundle from data dir by default
Diffstat (limited to 'tests/lib/Http/Client/ClientTest.php')
-rw-r--r--tests/lib/Http/Client/ClientTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/lib/Http/Client/ClientTest.php b/tests/lib/Http/Client/ClientTest.php
index a0c4d75c1bd..a462a0848ae 100644
--- a/tests/lib/Http/Client/ClientTest.php
+++ b/tests/lib/Http/Client/ClientTest.php
@@ -461,9 +461,8 @@ class ClientTest extends \Test\TestCase {
->with('installed', false)
->willReturn(false);
$this->certificateManager
- ->expects($this->once())
- ->method('listCertificates')
- ->willReturn([]);
+ ->expects($this->never())
+ ->method('listCertificates');
$this->assertEquals([
'verify' => \OC::$SERVERROOT . '/resources/config/ca-bundle.crt',