Skip to content

Commit

Permalink
Merge pull request #141 from darwin-eu/drug_code_as_int
Browse files Browse the repository at this point in the history
test is integer
  • Loading branch information
edward-burn authored May 8, 2024
2 parents ca9c76d + e4e0956 commit a1112a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test-dbms.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ test_that("redshift", {
expect_true(nrow(asthma) > 0)

# drug ingredients
expect_no_error(getDrugIngredientCodes(cdm, "metformin"))
expect_no_error(metformin <- getDrugIngredientCodes(cdm, "metformin"))
expect_true(is.integer(metformin$metformin))

# achilles
cdm$achilles_results <- cdm$condition_occurrence %>%
Expand Down

0 comments on commit a1112a3

Please sign in to comment.