We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 309ed39 commit 450c3b2Copy full SHA for 450c3b2
ui/tests/ApiClient.Tests/HealthTests.cs
@@ -1,7 +1,10 @@
1
using WireMock.Server;
2
using WireMock.RequestBuilders;
3
using WireMock.ResponseBuilders;
4
-using Xunit;
+using System;
5
+using System.Net.Http;
6
+using System.Threading.Tasks;
7
+using NUnit.Framework;
8
9
public class HealthTests : IDisposable
10
{
@@ -18,8 +21,8 @@ public HealthTests()
18
21
_client = new ApiClient(http);
19
22
}
20
23
- [Fact(DisplayName = "Health returns true on 200")]
- public async Task Health_Ok() => Assert.True(await _client.HealthAsync());
24
+ [Test(Description = "Health returns true on 200")]
25
+ public async Task Health_Ok() => Assert.That(await _client.HealthAsync());
26
27
public void Dispose() => _server.Stop();
28
0 commit comments