test: SaveSettings 接口定义变更

This commit is contained in:
Argo Zhang 2020-01-19 11:49:27 +08:00
parent b0ac8c8545
commit f66aac9d30
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 15 additions and 15 deletions

View File

@ -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 }));
}