File tree 1 file changed +1
-29
lines changed
libraries/tests/AWS.Lambda.Powertools.Common.Tests/Core
1 file changed +1
-29
lines changed Original file line number Diff line number Diff line change @@ -62,34 +62,6 @@ public void Set_Execution_Real_Environment()
62
62
Assert . Equal ( $ "{ Constants . FeatureContextIdentifier } /Tests/1.0.0", systemWrapper . GetEnvironmentVariable ( "AWS_EXECUTION_ENV" ) ) ;
63
63
}
64
64
65
- [ Fact ]
66
- public void Set_Execution_Real_Environment_Multiple ( )
67
- {
68
- // Arrange
69
- var systemWrapper = new SystemWrapper ( new PowertoolsEnvironment ( ) ) ;
70
-
71
- // Act
72
- systemWrapper . SetExecutionEnvironment ( this ) ;
73
- systemWrapper . SetExecutionEnvironment ( systemWrapper ) ;
74
-
75
- // Assert
76
- Assert . Equal ( $ "{ Constants . FeatureContextIdentifier } /Tests/1.0.0 { Constants . FeatureContextIdentifier } /Common/0.0.1", systemWrapper . GetEnvironmentVariable ( "AWS_EXECUTION_ENV" ) ) ;
77
- }
78
-
79
- [ Fact ]
80
- public void Set_Execution_Real_Environment_Multiple_Avoid_Duplicate ( )
81
- {
82
- // Arrange
83
- var systemWrapper = new SystemWrapper ( new PowertoolsEnvironment ( ) ) ;
84
-
85
- // Act
86
- systemWrapper . SetExecutionEnvironment ( this ) ;
87
- systemWrapper . SetExecutionEnvironment ( this ) ;
88
-
89
- // Assert
90
- Assert . Equal ( $ "{ Constants . FeatureContextIdentifier } /Tests/1.0.0", systemWrapper . GetEnvironmentVariable ( "AWS_EXECUTION_ENV" ) ) ;
91
- }
92
-
93
65
public void Dispose ( )
94
66
{
95
67
//Do cleanup actions here
@@ -125,4 +97,4 @@ public string GetAssemblyVersion<T>(T type)
125
97
{
126
98
return "1.0.0" ;
127
99
}
128
- }
100
+ }
You can’t perform that action at this time.
0 commit comments