diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-07-03 14:21:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-03 14:21:38 +0200 |
commit | 905fab3356a6a0ac355c7cb829b63cdc257d67b4 (patch) | |
tree | f9f6dad0ee6a5c43b3d112306d679182ac6aaf2d /tests | |
parent | d203f8f985c99f78c1a9d43d938c618a435f6e9d (diff) | |
download | nextcloud-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.php | 5 |
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', |