summaryrefslogtreecommitdiffstats
path: root/tests/lib/Security/CertificateManagerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Security/CertificateManagerTest.php')
-rw-r--r--tests/lib/Security/CertificateManagerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Security/CertificateManagerTest.php b/tests/lib/Security/CertificateManagerTest.php
index b1659d1096d..fdc6b40533e 100644
--- a/tests/lib/Security/CertificateManagerTest.php
+++ b/tests/lib/Security/CertificateManagerTest.php
@@ -163,7 +163,7 @@ class CertificateManagerTest extends \Test\TestCase {
$certificateManager->expects($this->any())->method('getFilemtimeOfCaBundle')
->willReturn($CaBundleMtime);
- $certificateManager->expects($this->at(0))->method('getCertificateBundle')
+ $certificateManager->expects($this->once())->method('getCertificateBundle')
->willReturn('targetBundlePath');
$view->expects($this->any())->method('file_exists')