Skip to content

Commit

Permalink
test(reporter): fix drug count in PipelineTest
Browse files Browse the repository at this point in the history
- updated to reflect removal of ceftriaxone from FDA recommendations
  • Loading branch information
whaleyr committed Nov 13, 2024
1 parent f14210d commit 44772e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/test/java/org/pharmgkb/pharmcat/PipelineTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,9 @@ public static String cleanupRxDip(Element rxDip, Collection<String> genes) {
* NOTE: if these assertions fail, then new data may have been added from the DataManager because of an update to the
* CPIC database. If that's true, then update these numbers to the current count. If the count changes with no known
* change to the CPIC database, then something may be wrong in the code.
*
* <p>NOTE: you may also want to check the git log of Genes-Drugs.md to see specifically what genes/drugs have
* changed.</p>
*/
@Test
void testCounts(TestInfo testInfo) throws Exception {
Expand All @@ -425,7 +428,7 @@ void testCounts(TestInfo testInfo) throws Exception {
.flatMap((k) -> testWrapper.getContext().getDrugReports().get(k).values().stream()
.map(DrugReport::getName))
.collect(Collectors.toCollection(TreeSet::new));
assertEquals(184, drugs.size());
assertEquals(183, drugs.size());
}

@Test
Expand Down

0 comments on commit 44772e4

Please sign in to comment.