From d6abbc012ae49238aee0dd84d7ec5b74ce2a31f4 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sat, 31 Aug 2019 20:47:57 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E7=A7=BB=E9=99=A4=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E5=8D=95=E5=85=83=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UnitTest/Bootstrap.DataAccess/SQLServer/DictsTest.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/UnitTest/Bootstrap.DataAccess/SQLServer/DictsTest.cs b/UnitTest/Bootstrap.DataAccess/SQLServer/DictsTest.cs index 7a0b72d7..fb468224 100644 --- a/UnitTest/Bootstrap.DataAccess/SQLServer/DictsTest.cs +++ b/UnitTest/Bootstrap.DataAccess/SQLServer/DictsTest.cs @@ -189,15 +189,6 @@ namespace Bootstrap.DataAccess.SqlServer 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 /// ///