Integration testing fails because JsonFileRepository fails to access the Environment.SpecialFolder.Desktop folder in method GetExportedToolkitDirectory during testing in CI. This is accessing the desktop folder on the build server (ubuntu) during CI testing.
For some reason this value is returning an empty string, and the test fails to initiate.
We need a way to signal that we are running on CI< and use a different folder for that purpose.
Integration testing fails because
JsonFileRepository
fails to access theEnvironment.SpecialFolder.Desktop
folder in methodGetExportedToolkitDirectory
during testing in CI. This is accessing the desktop folder on the build server (ubuntu) during CI testing.For some reason this value is returning an empty string, and the test fails to initiate.
We need a way to signal that we are running on CI< and use a different folder for that purpose.