Skip to content

Commit ebc8c2f

Browse files
committed
Add default user role and impersonation settings in tests
- Updated the baseAdmin user object in the update-server-config test to include default values for allowImpersonation and role, ensuring comprehensive test coverage for user management features.
1 parent 1227d2b commit ebc8c2f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/dokploy/__test__/traefik/server/update-server-config.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import { beforeEach, expect, test, vi } from "vitest";
1616
const baseAdmin: User = {
1717
https: false,
1818
enablePaidFeatures: false,
19+
allowImpersonation: false,
20+
role: "user",
1921
metricsConfig: {
2022
containers: {
2123
refreshRate: 20,

0 commit comments

Comments
 (0)