From ed63fb5dea916629f19fe75b8906610776fe0a6f Mon Sep 17 00:00:00 2001 From: Sattvik Chakravarthy Date: Thu, 19 Oct 2023 12:56:40 +0530 Subject: [PATCH] fix: tenant config test --- CHANGELOG.md | 4 ++++ build.gradle | 2 +- .../io/supertokens/test/multitenant/RandomConfigTest.java | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f0db0ed95..324afa46f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [7.0.7] - 2023-10-19 + +- Fixes test that verifies tenant config persistence + ## [7.0.6] - 2023-10-18 - Fixes issue with cron tasks that run per app and tenant diff --git a/build.gradle b/build.gradle index adf4872c1..074e54253 100644 --- a/build.gradle +++ b/build.gradle @@ -19,7 +19,7 @@ compileTestJava { options.encoding = "UTF-8" } // } //} -version = "7.0.6" +version = "7.0.7" repositories { diff --git a/src/test/java/io/supertokens/test/multitenant/RandomConfigTest.java b/src/test/java/io/supertokens/test/multitenant/RandomConfigTest.java index c1d2fbf07..678093185 100644 --- a/src/test/java/io/supertokens/test/multitenant/RandomConfigTest.java +++ b/src/test/java/io/supertokens/test/multitenant/RandomConfigTest.java @@ -101,7 +101,7 @@ public void randomlyTestLoadConfig() TenantConfig persistedTenantConfig = Multitenancy.getTenantInfo(process.getProcess(), tenantConfig.tenantIdentifier); - assertEquals(tenantConfig, persistedTenantConfig); + assertTrue(tenantConfig.deepEquals(persistedTenantConfig)); } catch (InvalidProviderConfigException | InvalidConfigException e) { assertFalse(isOk);