Skip to content

Commit

Permalink
added test that token isn't required yet
Browse files Browse the repository at this point in the history
  • Loading branch information
explodecomputer committed Apr 16, 2024
1 parent 3477e41 commit bfbdd65
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/testthat/test_query.r
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ test_that("gwasinfo",
)
})

test_that("gwasinfo without token", {
a1 <- gwasinfo("ieu-a-2", opengwas_jwt="")
a2 <- gwasinfo("ieu-a-2")
expect_true(all(a1 == a2, na.rm=TRUE))
})


test_that("associations",
{
expect_true(
Expand Down

0 comments on commit bfbdd65

Please sign in to comment.