Skip to content

Commit

Permalink
fix zenodo test
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondben committed Feb 1, 2024
1 parent c52356e commit 58005cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_zenodo.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ test_that("A small Zenodo source works", {
src <- bb_zenodo_source(3533328)
temp_root <- tempdir()
cf <- bb_add(bb_config(local_file_root = temp_root), src)
expect_true(all(grepl("zenodo.org/api/files/afff5403-f7d8-4dfe-9b63-2720a890e208/?$", bb_data_source_dir(cf))))
expect_true(all(grepl("zenodo.org/api/records/3533328/files", bb_data_source_dir(cf))))
status <- bb_sync(cf, confirm_downloads_larger_than = NULL)
expect_equal(nrow(status$files[[1]]), 14)
expect_true(all(file.exists(status$files[[1]]$file)))
Expand Down

0 comments on commit 58005cc

Please sign in to comment.