From f0935a10ee66ea366746144135ea53b314d16113 Mon Sep 17 00:00:00 2001 From: Guilherme Branco Stracini Date: Thu, 12 Dec 2024 15:34:41 +0000 Subject: [PATCH] Update GenerateCommitMessageServiceTests.cs --- .../Services/GenerateCommitMessageServiceTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs b/Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs index 3720e7b..6e5c298 100644 --- a/Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs +++ b/Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs @@ -22,7 +22,7 @@ public class GenerateCommitMessageServiceTests public GenerateCommitMessageServiceTests() { - _mockChatClient = Substitute.For(null, new ApiKeyCredential("key"), Substitute.For()); + _mockChatClient = Substitute.For("model-name", new ApiKeyCredential("key"), Substitute.For()); _service = new GenerateCommitMessageService(); }