test: 移除系统检查单元测试
This commit is contained in:
parent
6f448fe626
commit
d6abbc012a
|
@ -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>
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue