diff --git a/test/UnitTest/Bootstrap.DataAccess/SQLServer/DictsTest.cs b/test/UnitTest/Bootstrap.DataAccess/SQLServer/DictsTest.cs
index 5340cd19..276addbf 100644
--- a/test/UnitTest/Bootstrap.DataAccess/SQLServer/DictsTest.cs
+++ b/test/UnitTest/Bootstrap.DataAccess/SQLServer/DictsTest.cs
@@ -33,7 +33,7 @@ namespace Bootstrap.DataAccess.SqlServer
[Fact]
public void SaveSettings_Ok()
{
- var dict = new Dict()
+ var dict = new BootstrapDict()
{
Category = "UnitTest",
Name = "SaveSettings",
@@ -41,10 +41,10 @@ namespace Bootstrap.DataAccess.SqlServer
Define = 1
};
- // insert
+ // insert
Assert.True(DictHelper.Save(dict));
// update
- Assert.True(DictHelper.SaveSettings(dict));
+ Assert.True(DictHelper.SaveSettings(new BootstrapDict[] { dict }));
// delete
Assert.True(DictHelper.Delete(new string[] { dict.Id }));
}
@@ -191,7 +191,7 @@ namespace Bootstrap.DataAccess.SqlServer
#region Private Class For Test
///
- ///
+ ///
///
private class BaiDuIPLocator
{
@@ -206,7 +206,7 @@ namespace Bootstrap.DataAccess.SqlServer
public int Status { get; set; }
///
- ///
+ ///
///
///
public override string ToString()
@@ -218,28 +218,28 @@ namespace Bootstrap.DataAccess.SqlServer
private class JuheIPLocator
{
///
- ///
+ ///
///
public string ResultCode { get; set; }
///
- ///
+ ///
///
public string Reason { get; set; }
///
- ///
+ ///
///
public JuheIPLocatorResult Result { get; set; }
///
- ///
+ ///
///
///
public int Error_Code { get; set; }
///
- ///
+ ///
///
///
public override string ToString()
@@ -251,27 +251,27 @@ namespace Bootstrap.DataAccess.SqlServer
private class JuheIPLocatorResult
{
///
- ///
+ ///
///
public string Country { get; set; }
///
- ///
+ ///
///
public string Province { get; set; }
///
- ///
+ ///
///
public string City { get; set; }
///
- ///
+ ///
///
public string Isp { get; set; }
///
- ///
+ ///
///
///
public override string ToString()