From 3e25b97b996c9dcc25ab4392902560cb3262c7bf Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Wed, 10 Dec 2025 00:18:18 -0600 Subject: [PATCH] test(environment): add isDefault flag to environment tests - Updated test cases for the environment structure to include the new `isDefault` boolean flag. - Ensured consistency in the environment schema across different test files, enhancing test coverage for environment-related functionalities. --- apps/dokploy/__test__/drop/drop.test.ts | 1 + apps/dokploy/__test__/traefik/traefik.test.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/dokploy/__test__/drop/drop.test.ts b/apps/dokploy/__test__/drop/drop.test.ts index 901e59c42..1c0a446a3 100644 --- a/apps/dokploy/__test__/drop/drop.test.ts +++ b/apps/dokploy/__test__/drop/drop.test.ts @@ -68,6 +68,7 @@ const baseApp: ApplicationNested = { previewWildcard: "", environment: { env: "", + isDefault: false, environmentId: "", name: "", createdAt: "", diff --git a/apps/dokploy/__test__/traefik/traefik.test.ts b/apps/dokploy/__test__/traefik/traefik.test.ts index 01ecb9e8e..8e678413c 100644 --- a/apps/dokploy/__test__/traefik/traefik.test.ts +++ b/apps/dokploy/__test__/traefik/traefik.test.ts @@ -50,6 +50,7 @@ const baseApp: ApplicationNested = { environmentId: "", environment: { env: "", + isDefault: false, environmentId: "", name: "", createdAt: "",