Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/FileImporters/DikeProfilesImporterTest.cs =================================================================== diff -u -rd12c953518f14c3d50136775b2c03afdf3a4f8f1 -r7a57c33fa0cf5177db7dced26f7b18c10e8a5635 --- Ringtoets/Common/test/Ringtoets.Common.IO.Test/FileImporters/DikeProfilesImporterTest.cs (.../DikeProfilesImporterTest.cs) (revision d12c953518f14c3d50136775b2c03afdf3a4f8f1) +++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/FileImporters/DikeProfilesImporterTest.cs (.../DikeProfilesImporterTest.cs) (revision 7a57c33fa0cf5177db7dced26f7b18c10e8a5635) @@ -194,7 +194,7 @@ Tuple.Create($"Profielgegevens definiëren geen dijkgeometrie. Bestand '{Path.Combine(fileDirectory, "profiel001NoGeometry - Ringtoets.prfl")}' wordt overgeslagen.", LogLevelConstant.Warn), Tuple.Create($"Profielgegevens definiëren geen dijkgeometrie. Bestand '{Path.Combine(fileDirectory, "profiel002NoGeometry - Ringtoets.prfl")}' wordt overgeslagen.", - LogLevelConstant.Warn), + LogLevelConstant.Warn) }; TestHelper.AssertLogMessagesWithLevelAreGenerated(call, expectedMessages, 2); Assert.IsTrue(importResult); Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/FileImporters/ForeshoreProfilesImporterTest.cs =================================================================== diff -u -rd12c953518f14c3d50136775b2c03afdf3a4f8f1 -r7a57c33fa0cf5177db7dced26f7b18c10e8a5635 --- Ringtoets/Common/test/Ringtoets.Common.IO.Test/FileImporters/ForeshoreProfilesImporterTest.cs (.../ForeshoreProfilesImporterTest.cs) (revision d12c953518f14c3d50136775b2c03afdf3a4f8f1) +++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/FileImporters/ForeshoreProfilesImporterTest.cs (.../ForeshoreProfilesImporterTest.cs) (revision 7a57c33fa0cf5177db7dced26f7b18c10e8a5635) @@ -143,12 +143,16 @@ Action call = () => importResult = foreshoreProfilesImporter.Import(); // Assert - string[] expectedMessages = + Tuple[] expectedMessages = { - $"Profielgegevens definiëren geen dam en geen voorlandgeometrie. Bestand '{Path.Combine(fileDirectory, "profiel001NoForeshoreNoDam - Ringtoets.prfl")}' wordt overgeslagen.", - $"Profielgegevens definiëren geen dam en geen voorlandgeometrie. Bestand '{Path.Combine(fileDirectory, "profiel002NoForeshoreNoDam - Ringtoets.prfl")}' wordt overgeslagen.", + Tuple.Create( + $"Profielgegevens definiëren geen dam en geen voorlandgeometrie. Bestand '{Path.Combine(fileDirectory, "profiel001NoForeshoreNoDam - Ringtoets.prfl")}' wordt overgeslagen.", + LogLevelConstant.Warn), + Tuple.Create( + $"Profielgegevens definiëren geen dam en geen voorlandgeometrie. Bestand '{Path.Combine(fileDirectory, "profiel002NoForeshoreNoDam - Ringtoets.prfl")}' wordt overgeslagen.", + LogLevelConstant.Warn) }; - TestHelper.AssertLogMessagesAreGenerated(call, expectedMessages, 2); + TestHelper.AssertLogMessagesWithLevelAreGenerated(call, expectedMessages, 2); Assert.IsTrue(importResult); Assert.AreEqual(5, foreshoreProfiles.Count); } Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/FileImporters/ProfilesImporterTest.cs =================================================================== diff -u -rd12c953518f14c3d50136775b2c03afdf3a4f8f1 -r7a57c33fa0cf5177db7dced26f7b18c10e8a5635 --- Ringtoets/Common/test/Ringtoets.Common.IO.Test/FileImporters/ProfilesImporterTest.cs (.../ProfilesImporterTest.cs) (revision d12c953518f14c3d50136775b2c03afdf3a4f8f1) +++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/FileImporters/ProfilesImporterTest.cs (.../ProfilesImporterTest.cs) (revision 7a57c33fa0cf5177db7dced26f7b18c10e8a5635) @@ -28,14 +28,12 @@ using Core.Common.Base.IO; using Core.Common.IO.Readers; using Core.Common.TestUtil; -using Core.Common.Utils.Builders; using NUnit.Framework; using Rhino.Mocks; using Ringtoets.Common.Data.AssessmentSection; using Ringtoets.Common.IO.DikeProfiles; using Ringtoets.Common.IO.FileImporters; using Ringtoets.Common.IO.FileImporters.MessageProviders; -using CoreCommonUtilsResources = Core.Common.Utils.Properties.Resources; namespace Ringtoets.Common.IO.Test.FileImporters {