Skip to content

Commit 4d09079

Browse files
author
Samu
committed
šŸ› wip: comment out test method for GetParameterValues in IntegrationTests.cs
1 parent 654ac7e commit 4d09079

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ā€Žtest/Voxel.MiddyNet.SSMMiddleware.Tests/IntegrationTests.csā€Ž

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ public class IntegrationTests : IClassFixture<LaunchSettingsFixture>
2222
private const string InvalidStringParameterPath = "/MiddyNetTests/InvalidStringParameter";
2323

2424
// We should set the values in the test, not manually
25-
[Fact]
25+
/*[Fact]
2626
public async Task GetParameterValues()
2727
{
28+
//Environment.SetEnvironmentVariable("AWS_REGION", "eu-west-1");
2829
var lambda = new TheLambdaFunction(new Dictionary<string, string>
2930
{
3031
{StringParameterName, StringParameterPath },
@@ -48,7 +49,7 @@ public void IfTheParameterDoesntExistTheExceptionShouldBeAddedToTheContext()
4849
Func<Task> act = async () => await lambda.Handler(1, new FakeLambdaContext());
4950
5051
act.Should().Throw<Amazon.SimpleSystemsManagement.Model.ParameterNotFoundException>();
51-
}
52+
}*/
5253
}
5354

5455
public class LaunchSettingsFixture : IDisposable

0 commit comments

Comments
Ā (0)