单元测试:增加NotificationsController单元测试

This commit is contained in:
Argo-Surface 2019-01-16 15:40:59 +08:00
parent eec18bcaf0
commit ada2ebdd38
1 changed files with 19 additions and 0 deletions

View File

@ -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<object>();
Assert.NotNull(resp);
}
}
}