Skip to content

Commit bf2968c

Browse files
authored
fix: tenant config test (#859)
1 parent 96a1a8c commit bf2968c

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
66
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [7.0.7] - 2023-10-19
9+
10+
- Fixes test that verifies tenant config persistence
11+
812
## [7.0.6] - 2023-10-18
913

1014
- Fixes issue with cron tasks that run per app and tenant

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ compileTestJava { options.encoding = "UTF-8" }
1919
// }
2020
//}
2121

22-
version = "7.0.6"
22+
version = "7.0.7"
2323

2424

2525
repositories {

src/test/java/io/supertokens/test/multitenant/RandomConfigTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public void randomlyTestLoadConfig()
101101

102102
TenantConfig persistedTenantConfig = Multitenancy.getTenantInfo(process.getProcess(),
103103
tenantConfig.tenantIdentifier);
104-
assertEquals(tenantConfig, persistedTenantConfig);
104+
assertTrue(tenantConfig.deepEquals(persistedTenantConfig));
105105

106106
} catch (InvalidProviderConfigException | InvalidConfigException e) {
107107
assertFalse(isOk);

0 commit comments

Comments
 (0)