Index: DamClients/DamUI/trunk/src/Dam/Deltares.Dam.IntegrationTests/ImportTests.cs =================================================================== diff -u -r6787 -r6823 --- DamClients/DamUI/trunk/src/Dam/Deltares.Dam.IntegrationTests/ImportTests.cs (.../ImportTests.cs) (revision 6787) +++ DamClients/DamUI/trunk/src/Dam/Deltares.Dam.IntegrationTests/ImportTests.cs (.../ImportTests.cs) (revision 6823) @@ -24,10 +24,8 @@ using Deltares.Dam.Data; using Deltares.Dam.Data.DataPlugins.Configuration; using Deltares.Dam.Data.UISupport; -using Deltares.Dam.Forms; using Deltares.Standard; using Deltares.Standard.EventPublisher; -using Deltares.Standard.Language; using Deltares.Standard.Logging; using NUnit.Framework; @@ -53,7 +51,7 @@ }; damProject.ProjectFileName = damNewProjectData.DamProjectFileName; damProject.DamProjectData.DataSourceEsriProjection = damNewProjectData.DataSourceEsriProjection; - + ImportDamProjectData(damNewProjectData, damProject); // Write all log messages to a file File.WriteAllLines(Path.ChangeExtension(damDataSourceFileName, ".log"), @@ -82,7 +80,7 @@ // ATTENTION: Do not stop DataEventPublisher because it is used to determine the source of the data with DataSourceManager DataSourceManager.StartListening(); - damProject.Import(damProjectFolder, dataSourceContainer, damNewProjectData.SelectedDikeRingIds, + damProject.Import(damProjectFolder, dataSourceContainer, damNewProjectData.SelectedDikeRingIds[0], damNewProjectData.DamProjectType, null); // Importing data creates a new DamProjectData object so the values set in the dialog have to be reset. damProject.DamProjectData.DamProjectType = projectType;