From 8919dcea42a01f2bca8252625c70791dfbbaeead Mon Sep 17 00:00:00 2001 From: Oleksandr Hladchenko1 Date: Mon, 6 Jan 2025 17:54:58 +0100 Subject: [PATCH] UIIN-3167: Fix tests --- src/ViewHoldingsRecord.test.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ViewHoldingsRecord.test.js b/src/ViewHoldingsRecord.test.js index 4558d8375..44633e6f4 100644 --- a/src/ViewHoldingsRecord.test.js +++ b/src/ViewHoldingsRecord.test.js @@ -132,6 +132,7 @@ const defaultProps = { tenantFrom: 'testTenantFromId', } }, + initialTenantId: 'initialTenantId', }; const queryClient = new QueryClient(); @@ -246,7 +247,7 @@ describe('ViewHoldingsRecord actions', () => { search: defaultProps.location.search, state: { backPathname: defaultProps.location.pathname, - tenantFrom: 'testTenantFromId', + initialTenantId: 'initialTenantId', }, }; renderViewHoldingsRecord(); @@ -274,7 +275,8 @@ describe('ViewHoldingsRecord actions', () => { search: defaultProps.location.search, state: { backPathname: defaultProps.location.pathname, - tenantFrom: 'testTenantFromId', + tenantFrom: 'diku', + initialTenantId: 'initialTenantId', }, };