diff --git a/tests/Unit/UserSecretStorageHealthCheckTest.php b/tests/Unit/UserSecretStorageHealthCheckTest.php index 3dbf30d7..78069b95 100644 --- a/tests/Unit/UserSecretStorageHealthCheckTest.php +++ b/tests/Unit/UserSecretStorageHealthCheckTest.php @@ -39,7 +39,7 @@ public function testCheckReturnsReportWhenStateStorageHealthCheckPasses(): void public function testCheckReturnsStatusDownWhenStateStorageHealthCheckFails(): void { $tiqrUserRepository = $this->createMock(TiqrUserRepositoryInterface::class); - $tiqrUserRepository->method('userStorageHealthCheck')->willReturn(false); + $tiqrUserRepository->method('userSecretStorageHealthCheck')->willReturn(false); $report = $this->createMock(HealthReportInterface::class);