1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00
mxpv-podsync/test/Podsync.Tests/Controllers/StatusControllerTests.cs

17 lines
420 B
C#
Raw Normal View History

2016-12-16 14:30:47 -08:00
using System.Threading.Tasks;
using Xunit;
namespace Podsync.Tests.Controllers
{
public class StatusControllerTests : TestServer<Startup>
{
[Fact]
public async Task StatusTest()
{
var response = await Client.GetAsync("/status");
var content = await response.Content.ReadAsStringAsync();
Assert.Contains("Path: /status", content);
}
}
}