Index: Application/Ringtoets/test/Application.Ringtoets.Migration.Core.Test/RingtoetsVersionedFileTest.cs =================================================================== diff -u -r9d68a734d8da9bfadd3bdd349ddb56fb70d461ec -r28ab332db2d96ad9e766f19677af1c00fc88a644 --- Application/Ringtoets/test/Application.Ringtoets.Migration.Core.Test/RingtoetsVersionedFileTest.cs (.../RingtoetsVersionedFileTest.cs) (revision 9d68a734d8da9bfadd3bdd349ddb56fb70d461ec) +++ Application/Ringtoets/test/Application.Ringtoets.Migration.Core.Test/RingtoetsVersionedFileTest.cs (.../RingtoetsVersionedFileTest.cs) (revision 28ab332db2d96ad9e766f19677af1c00fc88a644) @@ -48,7 +48,7 @@ public void Constructor_ValidfilePath_ExpectedProperties() { // Setup - string filePath = "c:\\file.ext"; + string filePath = TestHelper.GetTestDataPath(nameof(Constructor_ValidfilePath_ExpectedProperties)); // Call var versionedFile = new RingtoetsVersionedFile(filePath); @@ -61,8 +61,7 @@ public void GetVersion_FileDoesNotExist_ThrowsCriticalFileReadException() { // Setup - string file = Path.GetRandomFileName(); - string filePath = TestHelper.GetTestDataPath(TestDataPath.Application.Ringtoets.Migration, file); + string filePath = TestHelper.GetTestDataPath(nameof(GetVersion_FileDoesNotExist_ThrowsCriticalFileReadException)); var sourceFile = new RingtoetsVersionedFile(filePath);