Change test path to non-existing directory

This commit is contained in:
Malte Rosenbjerg 2023-02-23 22:00:19 +01:00
parent 349b6044d1
commit 508cce8827

View file

@ -106,7 +106,7 @@ public void Audible_Aax_Test()
[TestMethod] [TestMethod]
public void Throws_FFMpegException_when_ffmpeg_not_found() public void Throws_FFMpegException_when_ffmpeg_not_found()
{ {
var exception = Assert.ThrowsException<FFMpegException>(() => FFMpegHelper.VerifyFFMpegExists(new FFOptions { BinaryFolder = Path.GetTempPath() })); var exception = Assert.ThrowsException<FFMpegException>(() => FFMpegHelper.VerifyFFMpegExists(new FFOptions { BinaryFolder = "./folder/that/does/not/exist" }));
Assert.IsInstanceOfType<InstanceFileNotFoundException>(exception.InnerException); Assert.IsInstanceOfType<InstanceFileNotFoundException>(exception.InnerException);
} }
} }