From dc108bdff79291e57d6fc423b512471e4d1965b5 Mon Sep 17 00:00:00 2001 From: Canon Date: Thu, 12 Mar 2026 13:27:21 +0800 Subject: [PATCH] Disable GPG signing in test git commands to prevent prompts --- FCPModUpdater.Tests/Services/GitServiceIntegrationTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FCPModUpdater.Tests/Services/GitServiceIntegrationTests.cs b/FCPModUpdater.Tests/Services/GitServiceIntegrationTests.cs index d873c76..333d1b9 100644 --- a/FCPModUpdater.Tests/Services/GitServiceIntegrationTests.cs +++ b/FCPModUpdater.Tests/Services/GitServiceIntegrationTests.cs @@ -26,7 +26,7 @@ public class GitServiceIntegrationTests : IDisposable private async Task RunGitAsync(string workingDir, string args) { var result = await Cli.Wrap("git") - .WithArguments(args) + .WithArguments($"-c commit.gpgsign=false {args}") .WithWorkingDirectory(workingDir) .WithEnvironmentVariables(env => env .Set("GIT_TERMINAL_PROMPT", "0")