Skip to content

Commit

Permalink
update DOIs in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk committed Oct 18, 2023
1 parent 519da17 commit 88689f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-surveys.r
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test_that("surveys can be downloaded", {
skip_if_offline("zenodo.org")
skip_on_cran()

s <- suppressMessages(suppressWarnings(get_survey("10.5281/zenodo.1059920"))) # nolint
s <- suppressMessages(suppressWarnings(get_survey("10.5281/zenodo.1095664"))) # nolint

expect_s3_class(s, "survey")
expect_named(
Expand All @@ -29,7 +29,7 @@ test_that("missing surveys can't be cited", {
})

test_that("multiple DOI's cannot be loaded", {
expect_error(suppressMessages(suppressWarnings(get_survey(c("10.5281/zenodo.1059920", "10.5281/zenodo.1059920"))))) # nolint
expect_error(suppressMessages(suppressWarnings(get_survey(c("10.5281/zenodo.1095664", "10.5281/zenodo.1127693"))))) # nolint
})

test_that("deprecated functions are warned about", {
Expand Down

0 comments on commit 88689f5

Please sign in to comment.