You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed CycloneDX.Cli.Tests.ConvertTests.ConvertToSpdxJson(outputFormat: spdxjson) [9 ms]
Error Message:
System.UnauthorizedAccessException : Access to the path '/_/tests/cyclonedx.tests/__snapshots__' is denied.
---- System.IO.IOException : Permission denied
Stack Trace:
at System.IO.FileSystem.CreateDirectory(String fullPath)
at System.IO.Directory.CreateDirectory(String path)
at Snapshooter.Core.SnapshotFileHandler.CreateFolderIfNotExist(String folderPath)
at Snapshooter.Core.SnapshotFileHandler.EnsureSnapshotFolder(SnapshotFullName snapshotFullName)
at Snapshooter.Core.SnapshotFileHandler.ReadSnapshot(SnapshotFullName snapshotFullName)
at Snapshooter.SnapshotAssert.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptions)
at Snapshooter.Snapshooter.AssertSnapshot(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptions)
at Snapshooter.Xunit.Snapshot.Match(Object currentResult, SnapshotFullName snapshotFullName, Func`2 matchOptions)
at Snapshooter.Xunit.Snapshot.Match(Object currentResult, SnapshotNameExtension snapshotNameExtension, Func`2 matchOptions)
at Snapshooter.Xunit.Snapshot.Match[T](T currentResult, SnapshotNameExtension snapshotNameExtension, Func`2 matchOptions)
at CycloneDX.Cli.Tests.ConvertTests.ConvertToSpdxJson(ConvertFormat outputFormat) in /_/tests/cyclonedx.tests/ConvertTests.cs:line 126
--- End of stack trace from previous location ---
On Windows and Linux, workarounds were merged with #367.
The text was updated successfully, but these errors were encountered:
Snapshooter tries to access "/_" instead of the full path.
See
SwissLife-OSS/snapshooter#196
For instance,
On Windows and Linux, workarounds were merged with #367.
The text was updated successfully, but these errors were encountered: