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()
22
22
log = new NullLog ( ) ;
23
23
24
24
environment = new TestEnvironment ( ) ;
25
- environment . SetEnvironmentVariable ( "GITHUB_ACTIONS" , "true" ) ;
25
+ environment . SetEnvironmentVariable ( GitHubActions . EnvironmentVariableName , "true" ) ;
26
26
}
27
27
28
28
[ TearDown ]
29
29
public void TearDown ( )
30
30
{
31
- environment . SetEnvironmentVariable ( "GITHUB_ACTIONS" , null ) ;
31
+ environment . SetEnvironmentVariable ( GitHubActions . EnvironmentVariableName , null ) ;
32
32
}
33
33
34
34
[ Test ]
@@ -48,7 +48,7 @@ public void CanApplyToCurrentContextShouldBeTrueWhenEnvironmentVariableIsSet()
48
48
public void CanApplyToCurrentContextShouldBeFalseWhenEnvironmentVariableIsNotSet ( )
49
49
{
50
50
// Arrange
51
- environment . SetEnvironmentVariable ( "GITHUB_ACTIONS" , "" ) ;
51
+ environment . SetEnvironmentVariable ( GitHubActions . EnvironmentVariableName , "" ) ;
52
52
var buildServer = new GitHubActions ( environment , log ) ;
53
53
54
54
// Act
You can’t perform that action at this time.
0 commit comments