Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed Jul 10, 2024
1 parent 48577ef commit 655ea4f
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,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 @@ -232,11 +232,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 @@ -441,11 +441,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 655ea4f

Please sign in to comment.