Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

Commit 8931283

Browse files
committed
Unit tests fixed
1 parent 0808c88 commit 8931283

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/grails/plugin/awssdk/AmazonWebServiceTests.groovy

+2-2
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ class AmazonWebServiceTests {
353353
assert amazonWebService.getConfigAsync('eu-west-1').class == AmazonConfigAsyncClient
354354
assert amazonWebService.getConfig().class == AmazonConfigClient
355355
assert amazonWebService.getConfig('eu-west-1').class == AmazonConfigClient
356-
assert amazonWebService.getConfig('eu-west-1').endpoint.toString() == 'https://config.us-east-1.amazonaws.com' // Currently only available in us-east-1
356+
assert amazonWebService.getConfig('eu-west-1').endpoint.toString() == 'https://config.eu-west-1.amazonaws.com'
357357
}
358358

359359
void testConfigClientWithoutCredentials() {
@@ -363,7 +363,7 @@ class AmazonWebServiceTests {
363363
assert amazonWebService.getConfigAsync('eu-west-1').class == AmazonConfigAsyncClient
364364
assert amazonWebService.getConfig().class == AmazonConfigClient
365365
assert amazonWebService.getConfig('eu-west-1').class == AmazonConfigClient
366-
assert amazonWebService.getConfig('eu-west-1').endpoint.toString() == 'https://config.us-east-1.amazonaws.com' // Currently only available in us-east-1
366+
assert amazonWebService.getConfig('eu-west-1').endpoint.toString() == 'https://config.eu-west-1.amazonaws.com'
367367
}
368368

369369
/**

0 commit comments

Comments
 (0)