File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/GitVersionCore.Tests/BuildServers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments