diff --git a/packages/hoppscotch-cli/src/__tests__/samples/collections/collection-level-headers-auth-coll.json b/packages/hoppscotch-cli/src/__tests__/samples/collections/collection-level-headers-auth-coll.json index ca986c8ae..bdca78c61 100644 --- a/packages/hoppscotch-cli/src/__tests__/samples/collections/collection-level-headers-auth-coll.json +++ b/packages/hoppscotch-cli/src/__tests__/samples/collections/collection-level-headers-auth-coll.json @@ -75,7 +75,7 @@ "auth": { "authType": "api-key", "authActive": true, - "addTo": "Headers", + "addTo": "HEADERS", "key": "key", "value": "test-key" }, diff --git a/packages/hoppscotch-common/src/services/persistence/__tests__/__mocks__/index.ts b/packages/hoppscotch-common/src/services/persistence/__tests__/__mocks__/index.ts index 12fe74e27..2cbf0d0be 100644 --- a/packages/hoppscotch-common/src/services/persistence/__tests__/__mocks__/index.ts +++ b/packages/hoppscotch-common/src/services/persistence/__tests__/__mocks__/index.ts @@ -25,7 +25,7 @@ export const REST_COLLECTIONS_MOCK: HoppCollection[] = [ folders: [], requests: [ { - v: "3", + v: "4", endpoint: "https://echo.hoppscotch.io", name: "Echo test", params: [], @@ -50,7 +50,7 @@ export const GQL_COLLECTIONS_MOCK: HoppCollection[] = [ folders: [], requests: [ { - v: 3, + v: 4, name: "Echo test", url: "https://echo.hoppscotch.io/graphql", headers: [], @@ -138,7 +138,7 @@ export const REST_HISTORY_MOCK: RESTHistoryEntry[] = [ preRequestScript: "", testScript: "", requestVariables: [], - v: "3", + v: "4", }, responseMeta: { duration: 807, statusCode: 200 }, star: false, @@ -150,7 +150,7 @@ export const GQL_HISTORY_MOCK: GQLHistoryEntry[] = [ { v: 1, request: { - v: 3, + v: 4, name: "Untitled", url: "https://echo.hoppscotch.io/graphql", query: "query Request { url }", @@ -171,7 +171,7 @@ export const GQL_TAB_STATE_MOCK: PersistableTabState = { tabID: "5edbe8d4-65c9-4381-9354-5f1bf05d8ccc", doc: { request: { - v: 3, + v: 4, name: "Untitled", url: "https://echo.hoppscotch.io/graphql", headers: [], @@ -194,7 +194,7 @@ export const REST_TAB_STATE_MOCK: PersistableTabState = { tabID: "e6e8d800-caa8-44a2-a6a6-b4765a3167aa", doc: { request: { - v: "3", + v: "4", endpoint: "https://echo.hoppscotch.io", name: "Echo test", params: [],