Skip to content

Commit

Permalink
update test with metadata setup
Browse files Browse the repository at this point in the history
  • Loading branch information
waterflow80 committed Apr 13, 2024
1 parent fc53f9f commit 87b9a63
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ void addSequenceCollectionL1() throws IOException {
(List<SeqColExtendedDataEntity<List<Integer>>>) extendedDataMapGenbank.get("integerListExtDataList");
SeqColLevelOneEntity levelOneEntity = levelOneService.constructSeqColLevelOne(
stringListExtDataList, integerListExtDataList, SeqColEntity.NamingConvention.GENBANK, GCA_ACCESSION);
levelOneEntity.getMetadata().forEach(md -> md.setSeqColLevelOne(levelOneEntity));
Optional<SeqColLevelOneEntity> savedEntity = levelOneService.addSequenceCollectionL1(levelOneEntity);
assertTrue(savedEntity.isPresent());
System.out.println(savedEntity.get());
Expand Down

0 comments on commit 87b9a63

Please sign in to comment.