BootstrapAdmin/UnitTest/Bootstrap.Admin/Api/NotificationsTest.cs

17 lines
375 B
C#
Raw Normal View History

using Xunit;
namespace Bootstrap.Admin.Api
{
public class NotificationsTest : ControllerTest
{
public NotificationsTest(BAWebHost factory) : base(factory, "api/Notifications") { }
[Fact]
public async void Get_Ok()
{
var resp = await Client.GetAsJsonAsync<object>();
Assert.NotNull(resp);
}
}
}