diff --git a/test/test_solve_issue_in_repository.py b/test/test_solve_issue_in_repository.py index 33c90c8..0377094 100644 --- a/test/test_solve_issue_in_repository.py +++ b/test/test_solve_issue_in_repository.py @@ -19,7 +19,7 @@ class TestSolveIssueInRepository: self.issue_description = 'This is a test issue' self.issue_number = '123' - @patch('aider_gitea.secrets.llm_api_key', return_value='fake-api-key') + @patch('aider_gitea.secrets.llm_api_keys', return_value='fake-api-key') @patch('aider_gitea.run_cmd') @patch('aider_gitea.push_changes') @patch('subprocess.run') @@ -54,7 +54,7 @@ class TestSolveIssueInRepository: assert mock_run_cmd.call_count >= 8 # Verify all expected commands were run mock_push_changes.assert_called_once() - @patch('aider_gitea.secrets.llm_api_key', return_value='fake-api-key') + @patch('aider_gitea.secrets.llm_api_keys', return_value='fake-api-key') @patch('aider_gitea.run_cmd') @patch('aider_gitea.push_changes') @patch('subprocess.run')