Defer ISQLite construction until after path override
This commit is contained in:
parent
488ad1e17f
commit
2b5f9b54a7
2 changed files with 3 additions and 3 deletions
|
|
@ -408,7 +408,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
public static void OverrideAppDataLocation(string matterControlDirectory)
|
||||
{
|
||||
string tempFolderPath = Path.Combine(matterControlDirectory, "Tests", "temp", runName, $"Test{testID++}");
|
||||
ApplicationDataStorage.Instance.OverrideAppDataLocation(tempFolderPath, DesktopSqlite.CreateInstance());
|
||||
ApplicationDataStorage.Instance.OverrideAppDataLocation(tempFolderPath, () => DesktopSqlite.CreateInstance());
|
||||
}
|
||||
|
||||
public static void AddItemsToQueue(string queueItemFolderToLoad)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue