diff --git a/test/Altinn.Profile.Tests/IntegrationTests/API/Controllers/ContactDetailsInternalControllerTests.cs b/test/Altinn.Profile.Tests/IntegrationTests/API/Controllers/ContactDetailsInternalControllerTests.cs index 333c84b..b4490f8 100644 --- a/test/Altinn.Profile.Tests/IntegrationTests/API/Controllers/ContactDetailsInternalControllerTests.cs +++ b/test/Altinn.Profile.Tests/IntegrationTests/API/Controllers/ContactDetailsInternalControllerTests.cs @@ -74,7 +74,7 @@ public async Task PostLookup_WhenRetrievalThrowsException_LogsErrorAndReturnsPro var problemResult = Assert.IsType(response.Result); Assert.Equal(StatusCodes.Status500InternalServerError, problemResult.StatusCode); - Assert.Equal("An unexpected error occurred", Convert.ToString(((ProblemDetails)problemResult.Value).Detail)); + Assert.Equal("An unexpected error occurred.", Convert.ToString(((ProblemDetails)problemResult.Value).Detail)); } [Fact]