Fixing test case.

This commit is contained in:
mike12345567 2024-12-06 16:40:47 +00:00
parent 1cb9d286a0
commit 551c2ecc5f
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ describe("/api/system/environment", () => {
const env = await config.api.environment.getEnvironment() const env = await config.api.environment.getEnvironment()
expect(env.body).toEqual({ expect(env.body).toEqual({
cloud: true, cloud: true,
disableAccountPortal: 0, disableAccountPortal: false,
isDev: false, isDev: false,
multiTenancy: true, multiTenancy: true,
baseUrl: "http://localhost:10000", baseUrl: "http://localhost:10000",
@ -36,7 +36,7 @@ describe("/api/system/environment", () => {
const env = await config.api.environment.getEnvironment() const env = await config.api.environment.getEnvironment()
expect(env.body).toEqual({ expect(env.body).toEqual({
cloud: false, cloud: false,
disableAccountPortal: 0, disableAccountPortal: false,
isDev: false, isDev: false,
multiTenancy: true, multiTenancy: true,
baseUrl: "http://localhost:10000", baseUrl: "http://localhost:10000",