From bae041f1fca706d4cc4e623d0e0abeb32074ea89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20K=C3=B6nig?= Date: Tue, 10 Dec 2024 10:59:14 +0100 Subject: [PATCH] chore: add test --- test/attributes.test.ts | 7 +++++++ test/lib/validation.ts | 1 + 2 files changed, 8 insertions(+) diff --git a/test/attributes.test.ts b/test/attributes.test.ts index 09c6e7cf..f29ff767 100644 --- a/test/attributes.test.ts +++ b/test/attributes.test.ts @@ -623,3 +623,10 @@ describe("Delete attributes", () => { expect(client3DeletedAttribute.isError).toBe(true); }); }); + +describe("Attributes Tag Collection", () => { + test("should get all valid tags", async () => { + const response = await client1.attributes.getAttributeTagCollection(); + expect(response).toBeSuccessful(ValidationSchema.ConnectorAttributeTagCollection); + }); +}); diff --git a/test/lib/validation.ts b/test/lib/validation.ts index 2a4cd150..bd9f2176 100644 --- a/test/lib/validation.ts +++ b/test/lib/validation.ts @@ -36,6 +36,7 @@ export enum ValidationSchema { ConnectorRequests = "ConnectorRequests", ConnectorAttribute = "ConnectorAttribute", ConnectorAttributes = "ConnectorAttributes", + ConnectorAttributeTagCollection = "ConnectorAttributeTagCollection", SucceedAttributeResponse = "SucceedAttributeResponse" }