From 88aff36fdcf02add634fdcc31619a4b6faf49c66 Mon Sep 17 00:00:00 2001 From: MiraGeowerkstatt Date: Tue, 14 Jan 2025 21:13:11 +0100 Subject: [PATCH] Add faker rule for boreholeFiles --- src/api/BdmsContextExtensions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/BdmsContextExtensions.cs b/src/api/BdmsContextExtensions.cs index 6c5d853a9..48ed5fba5 100644 --- a/src/api/BdmsContextExtensions.cs +++ b/src/api/BdmsContextExtensions.cs @@ -207,6 +207,7 @@ public static void SeedData(this BdmsContext context) .RuleFor(o => o.TopBedrockWeatheredTvd, _ => null) .RuleFor(o => o.Observations, _ => new Collection()) .RuleFor(o => o.BoreholeGeometry, _ => new Collection()) + .RuleFor(o => o.BoreholeFiles, _ => new Collection()) .FinishWith((f, o) => { o.Name = o.OriginalName; }); Borehole SeededBoreholes(int seed) => fakeBoreholes.UseSeed(seed).Generate();