From e24f3df0185d45e9370dbc2a255d928fe294eb6f Mon Sep 17 00:00:00 2001 From: Argo Date: Sat, 3 Aug 2019 16:03:48 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E4=BF=AE=E5=A4=8D=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E7=A0=81=E8=AF=B7=E6=B1=82=E4=B8=89=E6=AC=A1=E5=8D=95=E5=85=83?= =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UnitTest/Bootstrap.Admin/Api/OnlineTest.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/UnitTest/Bootstrap.Admin/Api/OnlineTest.cs b/UnitTest/Bootstrap.Admin/Api/OnlineTest.cs index c882e7ed..b1faacdf 100644 --- a/UnitTest/Bootstrap.Admin/Api/OnlineTest.cs +++ b/UnitTest/Bootstrap.Admin/Api/OnlineTest.cs @@ -1,7 +1,6 @@ using Longbow.Web; using System; using System.Collections.Generic; -using System.Reflection; using Xunit; namespace Bootstrap.Admin.Api.SqlServer @@ -27,10 +26,8 @@ namespace Bootstrap.Admin.Api.SqlServer [Fact] public async void Put_Ok() { - var ret = await Client.PutAsJsonAsync(""); - Assert.False(ret); - // 三次 Put 请求后返回真 + var ret = await Client.PutAsJsonAsync(""); ret = await Client.PutAsJsonAsync(""); ret = await Client.PutAsJsonAsync(""); ret = await Client.PutAsJsonAsync("");