aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/tests/Controller/AppConfigControllerTest.php
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2024-01-11 15:32:58 -0100
committerMaxence Lange <maxence@artificial-owl.com>2024-01-15 15:45:13 -0100
commitf7d0c74b1003af6c47dd6ec74f4ef904a2681d62 (patch)
treea0bfe1934fbec0ccf6651824589a0e67ae4f9d9f /apps/provisioning_api/tests/Controller/AppConfigControllerTest.php
parente5ef58b7b9b8f7a232666df17d286d43fb4d1201 (diff)
downloadnextcloud-server-f7d0c74b1003af6c47dd6ec74f4ef904a2681d62.tar.gz
nextcloud-server-f7d0c74b1003af6c47dd6ec74f4ef904a2681d62.zip
lazy AppConfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'apps/provisioning_api/tests/Controller/AppConfigControllerTest.php')
-rw-r--r--apps/provisioning_api/tests/Controller/AppConfigControllerTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/provisioning_api/tests/Controller/AppConfigControllerTest.php b/apps/provisioning_api/tests/Controller/AppConfigControllerTest.php
index f55f842debc..38335646902 100644
--- a/apps/provisioning_api/tests/Controller/AppConfigControllerTest.php
+++ b/apps/provisioning_api/tests/Controller/AppConfigControllerTest.php
@@ -137,15 +137,15 @@ class AppConfigControllerTest extends TestCase {
->with($app)
->willThrowException($throws);
- $this->config->expects($this->never())
- ->method('getAppKeys');
+ $this->appConfig->expects($this->never())
+ ->method('getKeys');
} else {
$api->expects($this->once())
->method('verifyAppId')
->with($app);
- $this->config->expects($this->once())
- ->method('getAppKeys')
+ $this->appConfig->expects($this->once())
+ ->method('getKeys')
->with($app)
->willReturn($keys);
}