Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Update/AssessmentSectionUpdateExtensionsTest.cs =================================================================== diff -u -re0ef393f7069a18d7e160aceaf91f603dfc8c5ae -r424e934ab7fcdef2661e3fee605423ee9fd1b489 --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Update/AssessmentSectionUpdateExtensionsTest.cs (.../AssessmentSectionUpdateExtensionsTest.cs) (revision e0ef393f7069a18d7e160aceaf91f603dfc8c5ae) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Update/AssessmentSectionUpdateExtensionsTest.cs (.../AssessmentSectionUpdateExtensionsTest.cs) (revision 424e934ab7fcdef2661e3fee605423ee9fd1b489) @@ -137,18 +137,21 @@ mocks.ReplayAll(); + const string newId = "newId"; const string newName = "newName"; const string comments = "Some text"; const int norm = int.MaxValue; var composition = AssessmentSectionComposition.Dune; var section = InitializeCreatedDikeAssessmentSection(AssessmentSectionComposition.Dune); + section.Id = newId; section.Name = newName; section.Comments = comments; section.FailureMechanismContribution.Norm = norm; var entity = new AssessmentSectionEntity { AssessmentSectionEntityId = 1, + Id = string.Empty, Name = string.Empty, Composition = (short) AssessmentSectionComposition.Dike }; @@ -168,6 +171,7 @@ section.Update(new PersistenceRegistry(), ringtoetsEntities); // Assert + Assert.AreEqual(newId, entity.Id); Assert.AreEqual(newName, entity.Name); Assert.AreEqual(comments, entity.Comments); Assert.AreEqual(norm, entity.Norm);