mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
17 lines
420 B
C#
17 lines
420 B
C#
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);
|
|
}
|
|
}
|
|
} |