From ada2ebdd388e8b46022c84380773a1e5ca1ede97 Mon Sep 17 00:00:00 2001 From: Argo-Surface Date: Wed, 16 Jan 2019 15:40:59 +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=A0NotificationsController=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 --- .../Bootstrap.Admin/Api/NotificationsTest.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 UnitTest/Bootstrap.Admin/Api/NotificationsTest.cs diff --git a/UnitTest/Bootstrap.Admin/Api/NotificationsTest.cs b/UnitTest/Bootstrap.Admin/Api/NotificationsTest.cs new file mode 100644 index 00000000..a56d71c9 --- /dev/null +++ b/UnitTest/Bootstrap.Admin/Api/NotificationsTest.cs @@ -0,0 +1,19 @@ +using Xunit; + +namespace Bootstrap.Admin.Api +{ + public class NotificationsTest : ApiTest + { + public NotificationsTest(BAWebHost factory) : base(factory, "Notifications", true) + { + + } + + [Fact] + public async void Get_Ok() + { + var resp = await Client.GetAsJsonAsync(); + Assert.NotNull(resp); + } + } +}