Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
meiao committed Oct 10, 2024
1 parent 02de31a commit 276dd23
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void accountInfo() {

assertNull(cache.getAccountInfo(AWS_ACCOUNT_ID));

String accountId = "123456789";
String accountId = "123456789012";
cache.setAccountInfo(AWS_ACCOUNT_ID, accountId);

assertEquals(accountId, cache.getAccountInfo(AWS_ACCOUNT_ID));
Expand All @@ -38,7 +38,7 @@ public void accountInfoClient() {

assertNull(cache.getAccountInfo(sdkClient, AWS_ACCOUNT_ID));

String accountId = "123456789";
String accountId = "123456789012";
cache.setAccountInfo(sdkClient, AWS_ACCOUNT_ID, accountId);

assertEquals(accountId, cache.getAccountInfo(sdkClient, AWS_ACCOUNT_ID));
Expand All @@ -50,7 +50,7 @@ public void accountInfoClient() {
@Test
public void accountInfoClientFallback() {
CloudAccountInfoCache cache = new CloudAccountInfoCache();
String accountId = "123456789";
String accountId = "123456789012";
cache.setAccountInfo(AWS_ACCOUNT_ID, accountId);

Object sdkClient = new Object();
Expand All @@ -61,7 +61,7 @@ public void accountInfoClientFallback() {
@Test
public void retrieveDataFromConfigAccountInfo() {
CloudAccountInfoCache cache = new CloudAccountInfoCache();
String accountId = "123456789";
String accountId = "123456789012";

ServiceManager serviceManager = mock(ServiceManager.class, RETURNS_DEEP_STUBS);
ServiceFactory.setServiceManager(serviceManager);
Expand Down

0 comments on commit 276dd23

Please sign in to comment.