test: 移除系统检查单元测试

This commit is contained in:
Argo Zhang 2019-08-31 20:47:57 +08:00
parent 6f448fe626
commit d6abbc012a
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 0 additions and 9 deletions

View File

@ -189,15 +189,6 @@ namespace Bootstrap.DataAccess.SqlServer
Assert.Equal("10", DictHelper.RetrieveLocaleIPSvrCachePeriod()); Assert.Equal("10", DictHelper.RetrieveLocaleIPSvrCachePeriod());
} }
[Fact]
public void DatabaseCheck_Ok()
{
var dict = new BootstrapDict() { Category = "系统检查", Name = "系统设置", Code = DatabaseName, Define = 0 };
Assert.True(DictHelper.Save(dict));
Assert.Equal(DatabaseName, DictHelper.RetrieveDicts().FirstOrDefault(d => d.Category == dict.Category && d.Name == dict.Name)?.Code ?? "unknown");
Assert.True(DictHelper.Delete(new string[] { dict.Id }));
}
#region Private Class For Test #region Private Class For Test
/// <summary> /// <summary>
/// ///