From 6cbc7a0031e0c2f2fe74a414842a761385b31494 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2026 07:15:39 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- apps/dokploy/__test__/wss/authorize.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/dokploy/__test__/wss/authorize.test.ts b/apps/dokploy/__test__/wss/authorize.test.ts index 24677330d..1b93b9f87 100644 --- a/apps/dokploy/__test__/wss/authorize.test.ts +++ b/apps/dokploy/__test__/wss/authorize.test.ts @@ -69,9 +69,9 @@ describe("canAccessDockerOverWss", () => { mockHasPermission.mockResolvedValue(false); mockGetAccessibleServerIds.mockResolvedValue(new Set()); mockCheckServiceAccess.mockResolvedValue(undefined); - expect(await canAccessDockerOverWss(USER, SESSION, "srv-remote", "svc-1")).toBe( - true, - ); + expect( + await canAccessDockerOverWss(USER, SESSION, "srv-remote", "svc-1"), + ).toBe(true); // Service path is authoritative — it must not fall through to docker/server. expect(mockHasPermission).not.toHaveBeenCalled(); expect(mockGetAccessibleServerIds).not.toHaveBeenCalled();