From 6aac59c248e9300d5318be10516281d0efcaf304 Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Tue, 25 Jul 2023 11:12:36 +0100 Subject: [PATCH] Add ignore to offline licensing test --- qa-core/src/account-api/api/AccountInternalAPIClient.ts | 1 + qa-core/src/account-api/tests/licensing/offline.spec.ts | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qa-core/src/account-api/api/AccountInternalAPIClient.ts b/qa-core/src/account-api/api/AccountInternalAPIClient.ts index 1b73f51320..7388dadf25 100644 --- a/qa-core/src/account-api/api/AccountInternalAPIClient.ts +++ b/qa-core/src/account-api/api/AccountInternalAPIClient.ts @@ -49,6 +49,7 @@ export default class AccountInternalAPIClient { requestOptions.headers = { ...requestOptions.headers, ...{ [Header.API_KEY]: env.ACCOUNT_PORTAL_API_KEY }, + cookie: "" } } diff --git a/qa-core/src/account-api/tests/licensing/offline.spec.ts b/qa-core/src/account-api/tests/licensing/offline.spec.ts index f9627ed7e1..6e4c74360f 100644 --- a/qa-core/src/account-api/tests/licensing/offline.spec.ts +++ b/qa-core/src/account-api/tests/licensing/offline.spec.ts @@ -14,9 +14,8 @@ describe("offline", () => { }) // TODO: Currently requires a self host install + account portal - // How do we flag this as a self host specific test? - - it("creates, activates and deletes offline license", async () => { + // Ignored until we set this up + xit("creates, activates and deletes offline license", async () => { // installation: Delete any token await config.internalApi.license.deleteOfflineLicenseToken()