Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rushtong committed Dec 6, 2023
1 parent cbdfad8 commit c5220d8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.broadinstitute.consent.http.service;

import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
Expand Down Expand Up @@ -239,6 +240,7 @@ void testParseDataUsePurposeDisease() {
dar.getData().setOntologies(List.of(entry));
DataUse dataUse = converter.parseDataUsePurpose(dar);
assertNotNull(dataUse.getDiseaseRestrictions());
assertFalse(dataUse.getDiseaseRestrictions().isEmpty());
}

@Test
Expand Down

0 comments on commit c5220d8

Please sign in to comment.