Skip to content

Commit c192147

Browse files
TingluoHuangarturcic
authored andcommitted
PR feedback.
1 parent f9f6a78 commit c192147

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/GitVersionCore.Tests/BuildServers/GitHubActionsTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ public void SetUp()
2222
log = new NullLog();
2323

2424
environment = new TestEnvironment();
25-
environment.SetEnvironmentVariable("GITHUB_ACTIONS", "true");
25+
environment.SetEnvironmentVariable(GitHubActions.EnvironmentVariableName, "true");
2626
}
2727

2828
[TearDown]
2929
public void TearDown()
3030
{
31-
environment.SetEnvironmentVariable("GITHUB_ACTIONS", null);
31+
environment.SetEnvironmentVariable(GitHubActions.EnvironmentVariableName, null);
3232
}
3333

3434
[Test]
@@ -48,7 +48,7 @@ public void CanApplyToCurrentContextShouldBeTrueWhenEnvironmentVariableIsSet()
4848
public void CanApplyToCurrentContextShouldBeFalseWhenEnvironmentVariableIsNotSet()
4949
{
5050
// Arrange
51-
environment.SetEnvironmentVariable("GITHUB_ACTIONS", "");
51+
environment.SetEnvironmentVariable(GitHubActions.EnvironmentVariableName, "");
5252
var buildServer = new GitHubActions(environment, log);
5353

5454
// Act

0 commit comments

Comments
 (0)