Skip to content

Commit

Permalink
fix: build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed Jul 8, 2024
1 parent e424be6 commit 9463f1f
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,11 @@ public void storageInstanceIsReusedAcrossTenants()
StorageLayer.getStorage(new TenantIdentifier(null, null, null), process.getProcess()));

Assert.assertEquals(
Config.getConfig(new TenantIdentifier(null, null, null), process.getProcess()).getAccessTokenValidity(),
Config.getConfig(new TenantIdentifier(null, null, null), process.getProcess()).getAccessTokenValidityInMillis(),
(long) 3600 * 1000);

Assert.assertEquals(Config.getConfig(new TenantIdentifier(null, "abc", null), process.getProcess())
.getAccessTokenValidity(),
.getAccessTokenValidityInMillis(),
(long) 3601 * 1000);

Assert.assertEquals(
Expand Down Expand Up @@ -238,11 +238,11 @@ public void storageInstanceIsReusedAcrossTenantsComplex()
StorageLayer.getStorage(new TenantIdentifier(null, null, null), process.getProcess()));

Assert.assertEquals(
Config.getConfig(new TenantIdentifier(null, null, null), process.getProcess()).getAccessTokenValidity(),
Config.getConfig(new TenantIdentifier(null, null, null), process.getProcess()).getAccessTokenValidityInMillis(),
(long) 3600 * 1000);

Assert.assertEquals(Config.getConfig(new TenantIdentifier(null, "abc", null), process.getProcess())
.getAccessTokenValidity(),
.getAccessTokenValidityInMillis(),
(long) 3601 * 1000);

Assert.assertEquals(
Expand Down Expand Up @@ -453,11 +453,11 @@ public void newStorageIsNotCreatedWhenSameTenantIsAdded()
existingStorage);

Assert.assertEquals(
Config.getConfig(new TenantIdentifier(null, null, null), process.getProcess()).getAccessTokenValidity(),
Config.getConfig(new TenantIdentifier(null, null, null), process.getProcess()).getAccessTokenValidityInMillis(),
(long) 3600 * 1000);

Assert.assertEquals(Config.getConfig(new TenantIdentifier(null, "abc", null), process.getProcess())
.getAccessTokenValidity(),
.getAccessTokenValidityInMillis(),
(long) 3601 * 1000);

Assert.assertEquals(
Expand Down

0 comments on commit 9463f1f

Please sign in to comment.