Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/TreeNodeInfos/HeightStructuresCalculationContextTreeNodeInfoTest.cs =================================================================== diff -u -r0cc0f65e5dd8ecc7733776517b5891cb2089adca -rab3c22a03e36c7fcdb96d754b45fb8e4717ec9cc --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/TreeNodeInfos/HeightStructuresCalculationContextTreeNodeInfoTest.cs (.../HeightStructuresCalculationContextTreeNodeInfoTest.cs) (revision 0cc0f65e5dd8ecc7733776517b5891cb2089adca) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/TreeNodeInfos/HeightStructuresCalculationContextTreeNodeInfoTest.cs (.../HeightStructuresCalculationContextTreeNodeInfoTest.cs) (revision ab3c22a03e36c7fcdb96d754b45fb8e4717ec9cc) @@ -43,6 +43,7 @@ using Ringtoets.HeightStructures.Data; using Ringtoets.HeightStructures.Forms.PresentationObjects; using Ringtoets.HeightStructures.Plugin; +using Ringtoets.HeightStructures.Plugin.Properties; using Ringtoets.HydraRing.Data; using Ringtoets.Integration.Data; using HeightStructuresFormsResources = Ringtoets.HeightStructures.Forms.Properties.Resources; @@ -461,12 +462,9 @@ // Then TestHelper.AssertLogMessages(action, messages => { - var msgs = messages.ToArray(); - StringAssert.StartsWith(String.Format("Validatie van '{0}' gestart om: ", calculation.Name), msgs[0]); - StringAssert.StartsWith(String.Format("Validatie van '{0}' beƫindigd om: ", calculation.Name), msgs[1]); - StringAssert.StartsWith(String.Format("Berekening van '{0}' gestart om: ", calculation.Name), msgs[2]); - StringAssert.StartsWith(String.Format("Hoogte kunstwerk '{0}' niet gelukt.", calculation.Name), msgs[3]); - StringAssert.StartsWith(String.Format("Berekening van '{0}' beƫindigd om: ", calculation.Name), msgs[4]); + var msgs = messages.GetEnumerator(); + Assert.IsTrue(msgs.MoveNext()); + StringAssert.StartsWith("Er is een fout opgetreden tijdens de berekening.", msgs.Current); }); Assert.IsNull(calculation.Output);