test: 更新GiteeController相关单元测试
This commit is contained in:
parent
1f2a56f999
commit
9c99b76ce0
|
@ -48,12 +48,18 @@ namespace Bootstrap.Admin.Api
|
|||
new Func<Task<string>>(() =>
|
||||
{
|
||||
throw new TaskCanceledException();
|
||||
}),
|
||||
new Func<string, string>(content => {
|
||||
return "";
|
||||
})
|
||||
});
|
||||
|
||||
t.Invoke(null, new object[] {
|
||||
new Func<Task<string>>(()=> {
|
||||
throw new Exception();
|
||||
}),
|
||||
new Func<string, string>(content => {
|
||||
return "";
|
||||
})
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue