Skip to content

Commit

Permalink
Update the expected structure in the response from synapse get
Browse files Browse the repository at this point in the history
  • Loading branch information
afwillia committed Jul 17, 2024
1 parent c99d53e commit 77813d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_synapse_rest_api.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test_that("is_certified returns TRUE or FALSE", {
test_that("get returns a tibble or error", {

good_req <- synapse_get(id="syn23643255", auth=Sys.getenv("SYNAPSE_PAT"))
expect_true(nrow(good_req) == 1)
expect_true(length(good_req) > 1)

expect_error(synapse_get(id="bad", auth=Sys.getenv("SYNAPSE_PAT")))
expect_error(synapse_get(id=NULL, auth=Sys.getenv("SYNAPSE_PAT")))
Expand Down

0 comments on commit 77813d8

Please sign in to comment.