Skip to content

Commit 9c0887a

Browse files
committed
fix unit tests for GitVersionTask
1 parent 1cd63f5 commit 9c0887a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/GitVersionTask.Tests/TestTaskBase.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ protected static MsBuildExecutionResult<T> ExecuteMsBuildTaskInBuildServer<T>(T
4444
{
4545
var env = new Dictionary<string, string>
4646
{
47-
{ AzurePipelines.EnvironmentVariableName, "true" }
47+
{ AzurePipelines.EnvironmentVariableName, "true" },
48+
{ "BUILD_SOURCEBRANCH", null }
4849
};
4950

5051
var msbuildFixture = new MsBuildFixture();

0 commit comments

Comments
 (0)