From 65820e60caeb98429c8163ba73862571662769cf Mon Sep 17 00:00:00 2001 From: Kirill Ivlev <102740624+kirill-ivlev@users.noreply.github.com> Date: Wed, 31 Jan 2024 13:35:41 +0400 Subject: [PATCH] Mock git ff (#4604) (#4623) Co-authored-by: Ivan Duplenskikh <115665590+ivanduplenskikh@users.noreply.github.com> --- src/Test/L0/Plugin/TestGitCliManager/TestGitCliManagerL0.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Test/L0/Plugin/TestGitCliManager/TestGitCliManagerL0.cs b/src/Test/L0/Plugin/TestGitCliManager/TestGitCliManagerL0.cs index dcc5252b24..f9fbca3299 100644 --- a/src/Test/L0/Plugin/TestGitCliManager/TestGitCliManagerL0.cs +++ b/src/Test/L0/Plugin/TestGitCliManager/TestGitCliManagerL0.cs @@ -20,6 +20,7 @@ private Tuple, MockAgentTaskPluginExecutionContext> setup Mock argUtilInstanced = new Mock(); argUtilInstanced.CallBase = true; argUtilInstanced.Setup(x => x.File(Path.Combine("agenthomedirectory", "externals", "git", "cmd", $"git.exe"), "gitPath")).Callback(() => { }); + argUtilInstanced.Setup(x => x.File(Path.Combine("agenthomedirectory", "externals", "ff_git", "cmd", $"git.exe"), "gitPath")).Callback(() => { }); argUtilInstanced.Setup(x => x.Directory("agentworkfolder", "agent.workfolder")).Callback(() => { }); var context = new MockAgentTaskPluginExecutionContext(hostContext.GetTrace()); context.Variables.Add("agent.homedirectory", "agenthomedirectory");