From aec912d010674c4664f32ebbc14140292f5d9d30 Mon Sep 17 00:00:00 2001 From: acn-sbuad Date: Wed, 28 Feb 2024 22:29:56 +0100 Subject: [PATCH] fixed build errors --- .../IntegrationTests/UserContactPointControllerTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Altinn.Profile.Tests/IntegrationTests/UserContactPointControllerTests.cs b/test/Altinn.Profile.Tests/IntegrationTests/UserContactPointControllerTests.cs index 0339cc0..31511b2 100644 --- a/test/Altinn.Profile.Tests/IntegrationTests/UserContactPointControllerTests.cs +++ b/test/Altinn.Profile.Tests/IntegrationTests/UserContactPointControllerTests.cs @@ -86,7 +86,7 @@ public async Task PostAvailabilityLookup_SingleUser_DetailsReturned() string responseContent = await response.Content.ReadAsStringAsync(); var actual = JsonSerializer.Deserialize(responseContent, _serializerOptions); Assert.Single(actual.AvailabilityList); - Assert.NotEmpty(actual.AvailabilityList[0].Email); + Assert.True(actual.AvailabilityList[0].EmailRegistered); } [Fact] @@ -111,7 +111,7 @@ public async Task PostAvailabilityLookup_SingleProfileNotFoundInBridge_Remaining string responseContent = await response.Content.ReadAsStringAsync(); var actual = JsonSerializer.Deserialize(responseContent, _serializerOptions); Assert.Single(actual.AvailabilityList); - Assert.NotEmpty(actual.AvailabilityList[0].Email); + Assert.True(actual.AvailabilityList[0].EmailRegistered); } [Fact]