test: SaveSettings 接口定义变更
This commit is contained in:
parent
b0ac8c8545
commit
f66aac9d30
|
@ -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",
|
||||
|
@ -44,7 +44,7 @@ namespace Bootstrap.DataAccess.SqlServer
|
|||
// 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 }));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue