Index: Application/Ringtoets/test/Application.Ringtoets.Migration.Test/RingtoetsProjectMigratorTest.cs =================================================================== diff -u -r7ae86f985c29529fea478bc9a1b4f9c1401b168b -rf4222ec87c8c4ec49ef66fa4529c20493647d7b5 --- Application/Ringtoets/test/Application.Ringtoets.Migration.Test/RingtoetsProjectMigratorTest.cs (.../RingtoetsProjectMigratorTest.cs) (revision 7ae86f985c29529fea478bc9a1b4f9c1401b168b) +++ Application/Ringtoets/test/Application.Ringtoets.Migration.Test/RingtoetsProjectMigratorTest.cs (.../RingtoetsProjectMigratorTest.cs) (revision f4222ec87c8c4ec49ef66fa4529c20493647d7b5) @@ -414,20 +414,20 @@ } [Test] - public void GivenMigratorAndSupportedFile_WhenValidTargetLocationGiven_ThenFileSuccessFullyMigrates() + public void GivenMigratorAndSupportedFile_WhenValidTargetLocationGiven_ThenFileSuccessfullyMigrates() { // Given string sourceFilePath = RingtoetsProjectMigrationTestHelper.GetOutdatedSupportedProjectFilePath(); string targetFile = $"{nameof(RingtoetsProjectMigratorTest)}." + - $"{nameof(GivenMigratorAndSupportedFile_WhenValidTargetLocationGiven_ThenFileSuccessFullyMigrates)}.rtd"; + $"{nameof(GivenMigratorAndSupportedFile_WhenValidTargetLocationGiven_ThenFileSuccessfullyMigrates)}.rtd"; string targetFilePath = Path.Combine(TestHelper.GetScratchPadPath(), testDirectory, targetFile); var mocks = new MockRepository(); var inquiryHelper = mocks.Stub(); mocks.ReplayAll(); - string logDirectory = $"{nameof(GivenMigratorAndSupportedFile_WhenValidTargetLocationGiven_ThenFileSuccessFullyMigrates)}_log"; + string logDirectory = $"{nameof(GivenMigratorAndSupportedFile_WhenValidTargetLocationGiven_ThenFileSuccessfullyMigrates)}_log"; using (new DirectoryDisposeHelper(TestHelper.GetScratchPadPath(), logDirectory)) using (new UseCustomSettingsHelper(new TestSettingsHelper { Index: Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil.Test/MigratedDatabaseReaderTest.cs =================================================================== diff -u -r6fc7bb82cd253331bf969bd85951237d5a309e3e -rf4222ec87c8c4ec49ef66fa4529c20493647d7b5 --- Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil.Test/MigratedDatabaseReaderTest.cs (.../MigratedDatabaseReaderTest.cs) (revision 6fc7bb82cd253331bf969bd85951237d5a309e3e) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil.Test/MigratedDatabaseReaderTest.cs (.../MigratedDatabaseReaderTest.cs) (revision f4222ec87c8c4ec49ef66fa4529c20493647d7b5) @@ -19,20 +19,23 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using System.IO; using Core.Common.IO.Readers; using Core.Common.TestUtil; using NUnit.Framework; namespace Application.Ringtoets.Storage.TestUtil.Test { + [TestFixture] public class MigratedDatabaseReaderTest { [Test] public void Constructor_ExpectedValues() { // Setup - string path = TestHelper.GetTestDataPath(TestDataPath.Application.Ringtoets.Migration.Core, - "FullTestProject171.rtd"); + string path = Path.Combine(TestHelper.GetTestDataPath(TestDataPath.Core.Common.IO, "SqLiteDatabaseReaderBase"), + "empty.sqlite"); + // Call using (var reader = new MigratedDatabaseReader(path)) {