Index: Application/Ringtoets/test/Application.Ringtoets.Migration.Test/RingtoetsSqLiteDatabaseFileMigratorTest.cs =================================================================== diff -u -r214922706cd2559757df5b96982bd99cf0fe9cfa -raf53f335d0fa6920f7a5c4ab27b112bae9eeaede --- Application/Ringtoets/test/Application.Ringtoets.Migration.Test/RingtoetsSqLiteDatabaseFileMigratorTest.cs (.../RingtoetsSqLiteDatabaseFileMigratorTest.cs) (revision 214922706cd2559757df5b96982bd99cf0fe9cfa) +++ Application/Ringtoets/test/Application.Ringtoets.Migration.Test/RingtoetsSqLiteDatabaseFileMigratorTest.cs (.../RingtoetsSqLiteDatabaseFileMigratorTest.cs) (revision af53f335d0fa6920f7a5c4ab27b112bae9eeaede) @@ -139,7 +139,7 @@ TestDelegate call = () => migrator.Migrate(fromVersionedFile, newVersion, targetFilePath); // Assert - CriticalDatabaseMigrationException exception = Assert.Throws(call); + CriticalMigrationException exception = Assert.Throws(call); Assert.That(exception.Message.StartsWith("Er is een onverwachte fout opgetreden tijdens het verplaatsen van het gemigreerde bestand '")); Assert.That(exception.Message.EndsWith($"' naar '{targetFilePath}'.")); Assert.IsInstanceOf(exception.InnerException); @@ -159,7 +159,7 @@ TestDelegate call = () => migrator.Migrate(fromVersionedFile, newVersion, sourceFilePath); // Assert - CriticalDatabaseMigrationException exception = Assert.Throws(call); + CriticalMigrationException exception = Assert.Throws(call); Assert.AreEqual("Het bestandspad van het uitvoerbestand moet anders zijn dan het bestandspad van het bronbestand.", exception.Message); } @@ -186,7 +186,7 @@ TestDelegate call = () => migrator.Migrate(fromVersionedFile, newVersion, targetFilePath); // Assert - CriticalDatabaseMigrationException exception = Assert.Throws(call); + CriticalMigrationException exception = Assert.Throws(call); Assert.That(exception.Message.StartsWith("Er is een onverwachte fout opgetreden tijdens het verplaatsen van het gemigreerde bestand '")); Assert.That(exception.Message.EndsWith($"' naar '{targetFilePath}'.")); Assert.IsInstanceOf(exception.InnerException); @@ -213,7 +213,7 @@ TestDelegate call = () => migrator.Migrate(fromVersionedFile, newVersion, targetFilePath); // Assert - string message = Assert.Throws(call).Message; + string message = Assert.Throws(call).Message; Assert.AreEqual($"Het is niet mogelijk om versie 4 te migreren naar versie {newVersion}", message); } @@ -231,7 +231,7 @@ TestDelegate call = () => migrator.Migrate(fromVersionedFile, "17.1", targetFilePath); // Assert - string message = Assert.Throws(call).Message; + string message = Assert.Throws(call).Message; Assert.AreEqual("Het upgraden van versie 8 is niet ondersteund.", message); } }