Skip to content

Commit

Permalink
Providing a single random derivedfrom id instead of a list
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexGilleran committed Jul 3, 2020
1 parent 30cd8a8 commit 22007a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ object Generators {
derivedFrom <- Gen.option(
Gen.listOf(
Generators.textGen
.map(text => ProvenanceRecord(id = Some(List(text.take(50).trim))))
.map(text => ProvenanceRecord(id = Some(text.take(50).trim)))
)
)
affiliatedOrganizationIds <- Gen.option(
Expand Down

0 comments on commit 22007a6

Please sign in to comment.