diff --git a/test/Altinn.Profile.Tests/IntegrationTests/API/Controllers/UnitContactPointControllerTests.cs b/test/Altinn.Profile.Tests/IntegrationTests/API/Controllers/UnitContactPointControllerTests.cs index fa664c5..f733d87 100644 --- a/test/Altinn.Profile.Tests/IntegrationTests/API/Controllers/UnitContactPointControllerTests.cs +++ b/test/Altinn.Profile.Tests/IntegrationTests/API/Controllers/UnitContactPointControllerTests.cs @@ -34,7 +34,7 @@ public UnitContactPointControllerTests(WebApplicationFactory { - string requestString = await request.Content.ReadAsStringAsync(token); + string requestString = await request.Content.ReadAsStringAsync(); UnitContactPointLookup lookup = JsonSerializer.Deserialize(requestString, _serializerOptions); return GetSBlResponseFromSBL(lookup.OrganizationNumbers[0]); });