From 2b9bb331097904c668668b58ba18b4f12087eae3 Mon Sep 17 00:00:00 2001 From: pedrobonamin Date: Fri, 13 Dec 2024 16:05:08 +0100 Subject: [PATCH] fix(structure): update breaking test --- .../perspective/__tests__/DocumentPerspectiveList.test.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/sanity/src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentPerspectiveList.test.tsx b/packages/sanity/src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentPerspectiveList.test.tsx index 37f2ecdbcd3..7948b92cc15 100644 --- a/packages/sanity/src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentPerspectiveList.test.tsx +++ b/packages/sanity/src/structure/panes/document/documentPanel/header/perspective/__tests__/DocumentPerspectiveList.test.tsx @@ -45,16 +45,15 @@ const mockUseDocumentPane = useDocumentPane as MockedFunction< const mockUseReleases = useReleases as Mock const mockCurrent: ReleaseDocument = { _updatedAt: '2024-07-12T10:39:32Z', - createdBy: 'pzAhBTkNX', - _id: '_.releases.spring-drop', + _id: '_.releases.rSpringDrop', _type: 'system.release', + _rev: 'r123', metadata: { description: 'What a spring drop, allergies galore 🌸', releaseType: 'asap', title: 'Spring Drop', }, _createdAt: '2024-07-02T11:37:51Z', - name: 'spring-drop', state: 'scheduled', }