commit cf9f4270dada39ab0becfa602b5977226562546b
parent 671aa2f64f76dfc89e2a7d147999fecb968eb973
Author: srfsh <dev@srf.sh>
Date: Tue, 13 Sep 2022 17:48:23 +0300
ZenflowsTest.Help.Factory: add required fields for data ingestion
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/test/help/factory.ex b/test/help/factory.ex
@@ -382,6 +382,12 @@ def build(:economic_resource) do
lot: build(:product_batch),
contained_in: if(recurse?, do: build(:economic_resource)),
unit_of_effort: build(:unit),
+ okhv: str("okhv"),
+ repo: uri(),
+ version: str("version"),
+ licensor: str("licensor"),
+ license: str("license"),
+ metadata: %{str("key") => str("val")},
}
end