Index: Application/Ringtoets/src/Application.Ringtoets.Migration/RingtoetsDatabaseSourceFile.cs =================================================================== diff -u -r94cf291c6814829fe9ea122b80e5e36a4f86486f -r5283b73de0a53cfe547d75a3c9d9336a10555987 --- Application/Ringtoets/src/Application.Ringtoets.Migration/RingtoetsDatabaseSourceFile.cs (.../RingtoetsDatabaseSourceFile.cs) (revision 94cf291c6814829fe9ea122b80e5e36a4f86486f) +++ Application/Ringtoets/src/Application.Ringtoets.Migration/RingtoetsDatabaseSourceFile.cs (.../RingtoetsDatabaseSourceFile.cs) (revision 5283b73de0a53cfe547d75a3c9d9336a10555987) @@ -47,10 +47,11 @@ public RingtoetsDatabaseSourceFile(string databaseFilePath) : base(databaseFilePath) {} /// - /// Gets the current version. + /// Gets the version of the Ringtoets database source file at location . /// - /// The version. - /// Thrown when is not a valid file. + /// The version of the file. + /// Thrown when the file is not a valid + /// Ringtoets database source file. public string GetVersion() { string versionQuery = RingtoetsDatabaseQueryBuilder.GetVersionQuery(); Index: Application/Ringtoets/test/Application.Ringtoets.Migration.Test/RingtoetsDatabaseSourceFileTest.cs =================================================================== diff -u -rd4f3eeb2e013b9ed46b4a7fd21e3965f25bd763d -r5283b73de0a53cfe547d75a3c9d9336a10555987 --- Application/Ringtoets/test/Application.Ringtoets.Migration.Test/RingtoetsDatabaseSourceFileTest.cs (.../RingtoetsDatabaseSourceFileTest.cs) (revision d4f3eeb2e013b9ed46b4a7fd21e3965f25bd763d) +++ Application/Ringtoets/test/Application.Ringtoets.Migration.Test/RingtoetsDatabaseSourceFileTest.cs (.../RingtoetsDatabaseSourceFileTest.cs) (revision 5283b73de0a53cfe547d75a3c9d9336a10555987) @@ -48,7 +48,7 @@ // Assert var exception = Assert.Throws(test); - Assert.AreEqual($"Fout bij het lezen van bestand '{filePath}': {"het bestand bestaat niet."}", + Assert.AreEqual($"Fout bij het lezen van bestand '{filePath}': het bestand bestaat niet.", exception.Message); } @@ -65,7 +65,7 @@ // Assert var exception = Assert.Throws(test); - Assert.AreEqual($"Fout bij het lezen van bestand '{filePath}': {"bestandspad mag niet leeg of ongedefinieerd zijn."}", + Assert.AreEqual($"Fout bij het lezen van bestand '{filePath}': bestandspad mag niet leeg of ongedefinieerd zijn.", exception.Message); }