From 748cd4e79527cab9803590882884075f5bb54560 Mon Sep 17 00:00:00 2001 From: Ivan Vasilov Date: Thu, 25 Dec 2025 17:12:24 +0100 Subject: [PATCH] Try to fix a mock for the deployment commit API. --- .../interfaces/Support/__tests__/SupportFormPage.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/studio/components/interfaces/Support/__tests__/SupportFormPage.test.tsx b/apps/studio/components/interfaces/Support/__tests__/SupportFormPage.test.tsx index 95aafd1b5b4..f4272573a5b 100644 --- a/apps/studio/components/interfaces/Support/__tests__/SupportFormPage.test.tsx +++ b/apps/studio/components/interfaces/Support/__tests__/SupportFormPage.test.tsx @@ -75,8 +75,8 @@ const { mockCommitSha, mockCommitTime, mockUseDeploymentCommitQuery } = vi.hoist const commitTime = '2024-01-01T00:00:00Z' const createCommitResponse = () => ({ - commitSha: sha, - commitTime, + deploymentCommit: { time: commitTime, sha }, + latestCommit: { time: commitTime, sha }, }) return {