Skip to content

Commit

Permalink
Update GenerateCommitMessageServiceTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
guibranco authored Dec 12, 2024
1 parent afbcb5b commit f0935a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class GenerateCommitMessageServiceTests

public GenerateCommitMessageServiceTests()
{
_mockChatClient = Substitute.For<ChatClient>(null, new ApiKeyCredential("key"), Substitute.For<OpenAIClientOptions>());
_mockChatClient = Substitute.For<ChatClient>("model-name", new ApiKeyCredential("key"), Substitute.For<OpenAIClientOptions>());
_service = new GenerateCommitMessageService();
}

Expand Down

0 comments on commit f0935a1

Please sign in to comment.