Index: Application/Ringtoets/test/Application.Ringtoets.Migration.Test/RingtoetsProjectMigratorTest.cs =================================================================== diff -u -raaede2e2c97c9ecbb159e5c9576381c177cd5255 -rdd694bc76d6e75bcda83ff3f42edacf16451c58d --- Application/Ringtoets/test/Application.Ringtoets.Migration.Test/RingtoetsProjectMigratorTest.cs (.../RingtoetsProjectMigratorTest.cs) (revision aaede2e2c97c9ecbb159e5c9576381c177cd5255) +++ Application/Ringtoets/test/Application.Ringtoets.Migration.Test/RingtoetsProjectMigratorTest.cs (.../RingtoetsProjectMigratorTest.cs) (revision dd694bc76d6e75bcda83ff3f42edacf16451c58d) @@ -282,9 +282,7 @@ } [Test] - [TestCase(null)] - [TestCase("")] - public void DetermineMigrationLocation_TargetFilePathIsEmpty_LogsMessageAndReturnsEmptyTargetPath(string targetPath) + public void DetermineMigrationLocation_TargetFilePathIsEmpty_LogsMessageAndReturnsEmptyTargetPath() { // Setup const string originalFileName = "Im_a_valid_file_path"; @@ -299,7 +297,7 @@ var mocks = new MockRepository(); var inquiryHelper = mocks.StrictMock(); inquiryHelper.Expect(h => h.GetTargetFileLocation(expectedFileFilter.Filter, expectedSuggestedFileName)) - .Return(targetPath); + .Return(null); mocks.ReplayAll(); var migrator = new RingtoetsProjectMigrator(inquiryHelper); @@ -314,7 +312,7 @@ TestHelper.AssertLogMessageWithLevelIsGenerated(call, expectedLogMessage, 1); - Assert.AreEqual(targetPath, targetFilePath); + Assert.IsNull(targetFilePath); mocks.VerifyAll(); }