From f7d0c74b1003af6c47dd6ec74f4ef904a2681d62 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Thu, 11 Jan 2024 15:32:58 -0100 Subject: lazy AppConfig Signed-off-by: Maxence Lange --- .../provisioning_api/tests/Controller/AppConfigControllerTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/provisioning_api/tests/Controller/AppConfigControllerTest.php') 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); } -- cgit v1.2.3