We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e764fa commit b5d797cCopy full SHA for b5d797c
tests/testthat/test_api.R
@@ -2,9 +2,13 @@ library(GenomicDataCommons)
2
context('API')
3
4
test_that("status returns correctly", {
5
- res = status()
6
- expect_equal(length(res), 5)
7
- expect_equal(res$status,"OK")
+ res <- status()
+ metadata_nms <- c(
+ "commit", "data_release", "data_release_version",
8
+ "status", "tag", "version"
9
+ )
10
+ expect_identical(names(res), metadata_nms)
11
+ expect_identical(res$status, "OK")
12
})
13
14
test_that('query', {
0 commit comments