From c6749fff2440e4ec95966ca9fe0780bf22b58785 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Mon, 18 Mar 2019 10:44:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E5=85=83=E6=B5=8B=E8=AF=95=EF=BC=9A?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0OnlineUsers=20Webapi=20PUT=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E5=8D=95=E5=85=83=E6=B5=8B=E8=AF=95=20link=20#ITOIA=20#ITOIB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UnitTest/Bootstrap.Admin/Api/OnlineTest.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/UnitTest/Bootstrap.Admin/Api/OnlineTest.cs b/UnitTest/Bootstrap.Admin/Api/OnlineTest.cs index 391ed2bc..c6795b6b 100644 --- a/UnitTest/Bootstrap.Admin/Api/OnlineTest.cs +++ b/UnitTest/Bootstrap.Admin/Api/OnlineTest.cs @@ -20,6 +20,13 @@ namespace Bootstrap.Admin.Api { var urls = await Client.GetAsJsonAsync>>("UnitTest"); Assert.Empty(urls); - } + } + + [Fact] + public async void Put_Ok() + { + var ret = await Client.PutAsJsonAsync(""); + Assert.False(ret); + } } }