Skip to content

Commit c08635c

Browse files
committed
Updated integration test SNS publisher
1 parent 1746919 commit c08635c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/KeeperData.Api.Tests.Integration/IntegrationTestFixture.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ public IntegrationTestFixture()
3030
// SNS
3131
var amazonSimpleNotificationServiceConfig = new AmazonSimpleNotificationServiceConfig
3232
{
33-
ServiceURL = "http://sqs.eu-west-2.localhost.localstack.cloud:4566/",
33+
// ServiceURL = "http://sqs.eu-west-2.localhost.localstack.cloud:4566/",
34+
ServiceURL = "http://localhost:4566",
3435
AuthenticationRegion = "eu-west-2",
3536
UseHttp = true
3637
};
37-
_amazonSimpleNotificationServiceClient = new AmazonSimpleNotificationServiceClient(amazonSimpleNotificationServiceConfig);
38+
var credentials = new Amazon.Runtime.BasicAWSCredentials("test", "test");
39+
_amazonSimpleNotificationServiceClient = new AmazonSimpleNotificationServiceClient(credentials, amazonSimpleNotificationServiceConfig);
3840
}
3941

4042
internal async Task<PublishResponse> PublishToTopicAsync(PublishRequest publishRequest, CancellationToken cancellationToken)

0 commit comments

Comments
 (0)