修复机构添加编辑的异常的bug

This commit is contained in:
yubao
2018-05-20 13:54:56 +08:00
parent 18d6d416d7
commit 9faedc1260
7 changed files with 37 additions and 13 deletions

View File

@@ -23,7 +23,7 @@ namespace OpenAuth.UnitTest
{
try
{
for (int i = 0; i < 2; i++)
for (int i = 0; i < 5; i++)
{
var random = new Random();
int val = random.Next();
@@ -43,5 +43,17 @@ namespace OpenAuth.UnitTest
Console.WriteLine(e.Message);
}
}
[TestMethod]
public void update()
{
_app.Update(new Org
{
Id = "4bcdd85d-662f-42e4-94dc-19e3e98ef4dc",
Name = "测试",
ParentId = "57239263-0176-4ef9-a4b5-3491a04e2c6a"
});
}
}
}