diff --git a/UnitTest/Bootstrap.Admin/Api/OnlineTest.cs b/UnitTest/Bootstrap.Admin/Api/OnlineTest.cs index 727d8951..c882e7ed 100644 --- a/UnitTest/Bootstrap.Admin/Api/OnlineTest.cs +++ b/UnitTest/Bootstrap.Admin/Api/OnlineTest.cs @@ -29,6 +29,12 @@ namespace Bootstrap.Admin.Api.SqlServer { var ret = await Client.PutAsJsonAsync(""); Assert.False(ret); + + // 三次 Put 请求后返回真 + ret = await Client.PutAsJsonAsync(""); + ret = await Client.PutAsJsonAsync(""); + ret = await Client.PutAsJsonAsync(""); + Assert.True(ret); } } }