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);