Browse Source

Fix SharedFolderTests

pull/55/head
Ionite 1 year ago
parent
commit
89768705d4
No known key found for this signature in database
  1. 8
      StabilityMatrix.Tests/Models/SharedFoldersTests.cs

8
StabilityMatrix.Tests/Models/SharedFoldersTests.cs

@ -35,11 +35,11 @@ public class SharedFoldersTests
private void CreateSampleJunctions()
{
var definitions = new Dictionary<SharedFolderType, string>
var definitions = new Dictionary<SharedFolderType, IReadOnlyList<string>>
{
[SharedFolderType.StableDiffusion] = "models/Stable-diffusion",
[SharedFolderType.ESRGAN] = "models/ESRGAN",
[SharedFolderType.TextualInversion] = "embeddings",
[SharedFolderType.StableDiffusion] = new[] {"models/Stable-diffusion"},
[SharedFolderType.ESRGAN] = new[] {"models/ESRGAN"},
[SharedFolderType.TextualInversion] = new[] {"embeddings"},
};
SharedFolders.SetupLinks(definitions, TempModelsFolder, TempPackageFolder);
}

Loading…
Cancel
Save