From 9e92b75f9466756d3ab14e76804d41b32f6d2ba3 Mon Sep 17 00:00:00 2001 From: NH Date: Wed, 6 Dec 2023 14:27:57 +0200 Subject: [PATCH] Improved tests --- buxclient_test.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/buxclient_test.go b/buxclient_test.go index aed0c35..23ec76a 100644 --- a/buxclient_test.go +++ b/buxclient_test.go @@ -606,6 +606,16 @@ func TestAuthenticationWithOnlyAccessKey(t *testing.T) { path: "/access-key", clientMethod: func(c *BuxClient) (any, error) { return c.GetAccessKeys(context.Background(), anyMetadataConditions) }, }, + { + caseTitle: "CreateAccessKey", + path: "/access-key", + clientMethod: func(c *BuxClient) (any, error) { return c.CreateAccessKey(context.Background(), anyMetadataConditions) }, + }, + { + caseTitle: "RevokeAccessKey", + path: "/access-key", + clientMethod: func(c *BuxClient) (any, error) { return c.RevokeAccessKey(context.Background(), anyParam) }, + }, { caseTitle: "GetDestinationByID", path: "/destination",