Skip to content

Commit

Permalink
Fix path to data for test in last commit
Browse files Browse the repository at this point in the history
Signed-off-by: Mathew W. McLean <[email protected]>
  • Loading branch information
mwmclean committed Oct 14, 2024
1 parent 5a2aaf9 commit b5dfb09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-pubmed.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ test_that("GetPubMedByID: Multiple books parsed correctly #86",
bib <- NULL
tryCatch(try_again(5, {Sys.sleep(3); bib <<- GetPubMedByID(ids)}),
error = with_mocked_bindings(POST = function(...)
readRDS("tests/testthat/pubmedid_response.rds"),
readRDS("pubmedid_response.rds"),
bib <<- GetPubMedByID(ids)))
expect_equal(unlist(bib$eprint), ids)
})

0 comments on commit b5dfb09

Please sign in to comment.