提交 9d7c6034 编写于 作者: C Cyrus Najmabadi

Fix tests

上级 b07de8b7
......@@ -33,10 +33,6 @@ public enum Size
private const string PersistentFolderPrefix = "PersistentStorageTests_";
private readonly Encoding _encoding = Encoding.UTF8;
internal readonly IOptionService _persistentEnabledOptionService = new OptionServiceMock(new Dictionary<IOption, object>
{
{ PersistentStorageOptions.Enabled, true },
});
private AbstractPersistentStorageService _storageService;
private readonly string _persistentFolder;
......
......@@ -18,7 +18,7 @@ namespace Microsoft.CodeAnalysis.UnitTests.WorkspaceServices
public class SQLitePersistentStorageTests : AbstractPersistentStorageTests
{
internal override AbstractPersistentStorageService GetStorageService(IPersistentStorageLocationService locationService, IPersistentStorageFaultInjector faultInjector)
=> new SQLitePersistentStorageService(_persistentEnabledOptionService, locationService, faultInjector);
=> new SQLitePersistentStorageService(locationService, faultInjector);
[Fact]
public void TestCrashInNewConnection()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册