From 2b6e57d6f74eb84d4453685ce1e5d9fba0906f70 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 20 Feb 2023 10:10:49 +0100 Subject: [PATCH] Update generated SDKs (#213) Co-authored-by: Auto Mation --- changes.md | 5 ++--- .../MultipleClientsTest.cs | 22 +++++++++---------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/changes.md b/changes.md index 10b971493ef..c0ddb185c4f 100644 --- a/changes.md +++ b/changes.md @@ -1,9 +1,8 @@ **Api changes**
-Added QueryParameter(s) +Added Type(s) -- added query parameter `sort` to method `get /{projectKey}/product-selections/key={key}/products` -- added query parameter `sort` to method `get /{projectKey}/product-selections/{ID}/products` +- added type `GoogleCloudFunctionDestination`
diff --git a/commercetools.Sdk/IntegrationTests/commercetools.Api.IntegrationTests/MultipleClientsTest.cs b/commercetools.Sdk/IntegrationTests/commercetools.Api.IntegrationTests/MultipleClientsTest.cs index 93752af296f..9261eb2eb4f 100644 --- a/commercetools.Sdk/IntegrationTests/commercetools.Api.IntegrationTests/MultipleClientsTest.cs +++ b/commercetools.Sdk/IntegrationTests/commercetools.Api.IntegrationTests/MultipleClientsTest.cs @@ -32,19 +32,19 @@ public async void api_and_import() var apiConfig = configuration.GetSection("Client").Get(); var importApiRoot = p.GetService(); var apiRoot = p.GetService(); - + Assert.Equal("Import", importApiRoot.ClientName); Assert.Equal("Client", apiRoot.ClientName); var project = await apiRoot.Get().ExecuteAsync().ConfigureAwait(false); - + Assert.Equal(apiConfig.ProjectKey, project.Key); var importContainers = await importApiRoot.ImportContainers().Get().ExecuteAsync().ConfigureAwait(false); Assert.NotNull(importContainers); - - + + } - + [Fact] public async void api_and_import_create_root() { @@ -64,24 +64,24 @@ public async void api_and_import_create_root() var importConfig = configuration.GetSection("Import").Get(); var apiConfig = configuration.GetSection("Client").Get(); - + var importApiRoot = clients.First(client => client.Name == "Import") .WithImportApi(importConfig.ProjectKey); var apiRoot = clients.First(client => client.Name == "Client") .WithProject(apiConfig.ProjectKey); - + Assert.Equal("Import", importApiRoot.ClientName); Assert.Equal("Client", apiRoot.ClientName); var project = await apiRoot.Get().ExecuteAsync().ConfigureAwait(false); - + Assert.Equal(apiConfig.ProjectKey, project.Key); var importContainers = await importApiRoot.ImportContainers().Get().ExecuteAsync().ConfigureAwait(false); Assert.NotNull(importContainers); - - + + } - + } } \ No newline at end of file