From 2c85e02ddab8dcf36c172cdbdf09dbf2996eca97 Mon Sep 17 00:00:00 2001 From: acn-sbuad Date: Fri, 7 Jun 2024 11:29:53 +0200 Subject: [PATCH] fixed integration test --- .../IntegrationTests/API/OpenApiSpecificationTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Altinn.Profile.Tests/IntegrationTests/API/OpenApiSpecificationTests.cs b/test/Altinn.Profile.Tests/IntegrationTests/API/OpenApiSpecificationTests.cs index f41380f..bfe2afc 100644 --- a/test/Altinn.Profile.Tests/IntegrationTests/API/OpenApiSpecificationTests.cs +++ b/test/Altinn.Profile.Tests/IntegrationTests/API/OpenApiSpecificationTests.cs @@ -25,7 +25,7 @@ public async Task GetOpenApiSpecification_ReturnsOk() // Arrange HttpClient client = _webApplicationFactorySetup.GetTestServerClient(); - HttpRequestMessage httpRequestMessage = new(HttpMethod.Get, "/profile/swagger/v1/swagger.json"); + HttpRequestMessage httpRequestMessage = new(HttpMethod.Get, "/swagger"); // Act HttpResponseMessage response = await client.SendAsync(httpRequestMessage);