Deliver portable native Architecture B deployment and final verification
This commit is contained in:
1 parent
f451b55de1
commit
36740d2492
92 files changed
+10939
-926
No files matched your search
@@ -17,14 +17,19 @@ public sealed class UpdateObservationTests(ObservationApiFixture fixture) : ICla
|
||||
{
|
||||
using var patient = await fixture.Client.PostAsJsonAsync("/api/patients", new
|
||||
{
|
||||
name = "Correction Example", dateOfBirth = "1980-01-01"
|
||||
name = "Correction Example",
|
||||
dateOfBirth = "1980-01-01"
|
||||
});
|
||||
Assert.Equal(HttpStatusCode.Created, patient.StatusCode);
|
||||
var patientId = (await patient.Content.ReadFromJsonAsync<Profile>())!.PatientId;
|
||||
using var response = await fixture.Client.PostAsJsonAsync($"/api/patients/{patientId}/observations", new
|
||||
{
|
||||
measuredAt = "2026-09-12T08:00:00", systolic = 182, diastolic = 82, pulse = 68,
|
||||
context = "Resting", note = "Before breakfast"
|
||||
measuredAt = "2026-09-12T08:00:00",
|
||||
systolic = 182,
|
||||
diastolic = 82,
|
||||
pulse = 68,
|
||||
context = "Resting",
|
||||
note = "Before breakfast"
|
||||
});
|
||||
Assert.Equal(HttpStatusCode.Created, response.StatusCode);
|
||||
return (await response.Content.ReadFromJsonAsync<Observation>())!;
|
||||
|
||||
Reference in new issue
Block a user