File tree Expand file tree Collapse file tree 1 file changed +1
-29
lines changed
libraries/tests/AWS.Lambda.Powertools.Common.Tests/Core Expand file tree Collapse file tree 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()
6262 Assert . Equal ( $ "{ Constants . FeatureContextIdentifier } /Tests/1.0.0", systemWrapper . GetEnvironmentVariable ( "AWS_EXECUTION_ENV" ) ) ;
6363 }
6464
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-
9365 public void Dispose ( )
9466 {
9567 //Do cleanup actions here
@@ -125,4 +97,4 @@ public string GetAssemblyVersion<T>(T type)
12597 {
12698 return "1.0.0" ;
12799 }
128- }
100+ }
You can’t perform that action at this time.
0 commit comments