Skip to content

Commit

Permalink
Add faker rule for boreholeFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt committed Jan 14, 2025
1 parent 87b0bd4 commit 88aff36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/BdmsContextExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ public static void SeedData(this BdmsContext context)
.RuleFor(o => o.TopBedrockWeatheredTvd, _ => null)
.RuleFor(o => o.Observations, _ => new Collection<Observation>())
.RuleFor(o => o.BoreholeGeometry, _ => new Collection<BoreholeGeometryElement>())
.RuleFor(o => o.BoreholeFiles, _ => new Collection<BoreholeFile>())
.FinishWith((f, o) => { o.Name = o.OriginalName; });

Borehole SeededBoreholes(int seed) => fakeBoreholes.UseSeed(seed).Generate();
Expand Down

0 comments on commit 88aff36

Please sign in to comment.