From b02262db13e3f664de0b026be821f1a3cd6c85b4 Mon Sep 17 00:00:00 2001 From: Pierluigi Viti Date: Wed, 29 May 2024 15:54:17 +0200 Subject: [PATCH] fix: fix test initialization --- specs/headers.spec.ts | 2 +- specs/resource.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/headers.spec.ts b/specs/headers.spec.ts index 4740617..4669b70 100644 --- a/specs/headers.spec.ts +++ b/specs/headers.spec.ts @@ -7,7 +7,7 @@ import { getClient, CommonData, handleError, interceptRequest } from '../test/co let clp: CommerceLayerProvisioningClient -beforeAll(async () => { clp = await getClient(true) }) +beforeAll(async () => { clp = await getClient({}) }) describe('Test headers', () => { diff --git a/specs/resource.spec.ts b/specs/resource.spec.ts index e090c29..9191dd4 100644 --- a/specs/resource.spec.ts +++ b/specs/resource.spec.ts @@ -10,7 +10,7 @@ let tempId: string beforeAll(async () => { - clp = await getClient(true) + clp = await getClient({}) memberships = await clp.memberships.list({ pageSize: 1}) })