Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt committed Oct 8, 2024
1 parent 3660391 commit fc991f6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/Controllers/BoreholeControllerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ public async Task EditBoreholeWithCompleteBorehole()
var boreholeToEdit = context.Boreholes.Single(c => c.Id == id);
Assert.AreEqual(1, boreholeToEdit.Stratigraphies.Count);
Assert.AreEqual(0, boreholeToEdit.Workflows.Count);
Assert.AreEqual(0, boreholeToEdit.BoreholeFiles.Count);
Assert.AreEqual(0, boreholeToEdit.BoreholeGeometry.Count);
Assert.AreEqual(0, boreholeToEdit.Completions.Count);
Assert.AreEqual(0, boreholeToEdit.Observations.Count); // Hydrogeology observations
Assert.AreEqual(0, boreholeToEdit.Sections.Count);

Assert.AreEqual(2, boreholeToEdit.CreatedById);
Assert.AreEqual(5, boreholeToEdit.UpdatedById);
Expand Down Expand Up @@ -150,7 +155,7 @@ public async Task EditBoreholeWithCompleteBorehole()
Assert.AreEqual(0, updatedBorehole.BoreholeFiles.Count);
Assert.AreEqual(0, updatedBorehole.BoreholeGeometry.Count);
Assert.AreEqual(0, updatedBorehole.Completions.Count);
Assert.AreEqual(0, updatedBorehole.Observations.Count); // Hydrogeology observations
Assert.AreEqual(0, updatedBorehole.Observations.Count);
Assert.AreEqual(0, updatedBorehole.Sections.Count);
}

Expand Down

0 comments on commit fc991f6

Please sign in to comment.