From d1e4ed5796576a36c0e5ffc76ee55575eafa9295 Mon Sep 17 00:00:00 2001 From: Amir Sasson Date: Thu, 6 Jan 2022 16:36:52 +0200 Subject: [PATCH] Update BasicExampleIntegrationTests.cs --- .../Integration/BasicExampleIntegrationTests.cs | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/tests/OpenApiExtensions.Test/Integration/BasicExampleIntegrationTests.cs b/tests/OpenApiExtensions.Test/Integration/BasicExampleIntegrationTests.cs index 7671c83..2cb9d13 100644 --- a/tests/OpenApiExtensions.Test/Integration/BasicExampleIntegrationTests.cs +++ b/tests/OpenApiExtensions.Test/Integration/BasicExampleIntegrationTests.cs @@ -73,19 +73,6 @@ namespace OpenApiExtensions.Test.Integration var odataEndpointParams = obj.Paths["/WeatherForecast/test1/{val}"]["get"].Parameters; odataEndpointParams.Should().Contain(o => o.ContainsKey("$ref") && o["$ref"].ToString().Contains("ODataFilter")); odataEndpointParams.Should().Contain(o => o.ContainsKey("$ref") && o["$ref"].ToString().Contains("ODataTop")); - } - - //[Fact] - //public async Task Put_WhenRequestPropertiesAreAccordingToFromBodyDefinition_Success() - //{ - // // Act - // string actionId = "testActionId"; - // string bodyWithNullProperties = "{ \"properties\": { \"logicAppResourceId\": \"test\" } }"; - // var requestContent = new StringContent(bodyWithNullProperties, Encoding.UTF8, "application/json"); - // var response = await _client.PutAsync($"{SentinelArmConstants.SecurityInsightsArmRouteBaseUrl}{actionId}?api-version=2019-01-01", requestContent); - - // // Assert - // Assert.Equal(HttpStatusCode.OK, response.StatusCode); - //} + } } }