Fix tests
This commit is contained in:
@@ -62,7 +62,7 @@ public class AlertLifecycleTests : IAsyncLifetime
|
||||
resp.StatusCode.Should().Be(HttpStatusCode.OK);
|
||||
var body = await resp.Content.ReadFromJsonAsync<JsonDocument>();
|
||||
body!.RootElement.GetProperty("data").GetProperty("status").GetString()
|
||||
.Should().Be("Acknowledged");
|
||||
.Should().Be("ACKNOWLEDGED");
|
||||
body.RootElement.GetProperty("data").GetProperty("acknowledgedBy").GetString()
|
||||
.Should().Be("Test NURSE (NURSE)");
|
||||
}
|
||||
@@ -90,6 +90,6 @@ public class AlertLifecycleTests : IAsyncLifetime
|
||||
resolveResp.StatusCode.Should().Be(HttpStatusCode.OK);
|
||||
var body = await resolveResp.Content.ReadFromJsonAsync<JsonDocument>();
|
||||
body!.RootElement.GetProperty("data").GetProperty("status").GetString()
|
||||
.Should().Be("Resolved");
|
||||
.Should().Be("RESOLVED");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user