Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveHeightLocationsContextTreeNodeInfoTest.cs =================================================================== diff -u -ra08664f5b196db59fc81cbbd33672627060d38c0 -r5964d4196c1f7f02df79e98ef4f876a338abef62 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveHeightLocationsContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsContextTreeNodeInfoTest.cs) (revision a08664f5b196db59fc81cbbd33672627060d38c0) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveHeightLocationsContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveHeightLocationsContextTreeNodeInfoTest.cs) (revision 5964d4196c1f7f02df79e98ef4f876a338abef62) @@ -449,6 +449,10 @@ grassCoverErosionOutwardsHydraulicBoundaryLocation }, assessmentSectionMock); + var observer = mockRepository.StrictMock(); + context.Attach(observer); + observer.Expect(o => o.UpdateObserver()); + using (var treeViewControl = new TreeViewControl()) { guiMock.Expect(g => g.Get(context, treeViewControl)).Return(new CustomItemsOnlyContextMenuBuilder()); @@ -474,7 +478,7 @@ Assert.AreEqual(filePath, testService.HydraulicBoundaryDatabaseFilePath); Assert.AreEqual(assessmentSectionMock.Id, testService.RingId); - var expectedNorm = assessmentSectionMock.FailureMechanismContribution.Norm / + var expectedNorm = assessmentSectionMock.FailureMechanismContribution.Norm/ (failureMechanism.Contribution / 100) * failureMechanism.GeneralInput.N; Assert.AreEqual(expectedNorm, testService.Norm);