Skip to content

Commit

Permalink
Speed up automated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wardle committed May 19, 2024
1 parent ab19d22 commit 91c0a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/com/eldrix/hermes/synth_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
n 2000
en-GB-refset (gen/generate (rf2/gen-concept {:id 999001261000000100 :active true}))
concepts (conj (gen/sample (rf2/gen-concept) (dec n)) en-GB-refset)
descriptions (mapcat #(gen/sample (rf2/gen-description {:conceptId (:id %) :typeId snomed/Synonym :active true})) concepts)
descriptions (mapcat #(gen/sample (rf2/gen-description {:conceptId (:id %) :typeId snomed/Synonym :active true}) 2) concepts)
descriptions-by-id (group-by :conceptId descriptions)
en-GB (hgen/make-language-refset-items descriptions {:refsetId (:id en-GB-refset) :active true :acceptabilityId snomed/Preferred :typeId snomed/Synonym})
relationships (gen/sample (rf2/gen-relationship) n)
Expand Down

0 comments on commit 91c0a80

Please sign in to comment.