Skip to content

Commit caaff83

Browse files
committed
update unit tests to accurately test set_data_urls
1 parent 5b739fc commit caaff83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/testthat/test-editEMLfunctions.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ test_that("set_data_urls does not update urls upon user request not to", {
887887
test_that("set_data_urls only accepts information or download for tag element",{
888888
expect_error(set_data_urls(BICY_EMLed_meta,
889889
url = "https://test.com",
890-
tag = "download"),
890+
tag = "file_location"),
891891
"Error: The tag parameter must be either \"information\" or \"download\"")
892892
})
893893

0 commit comments

Comments
 (0)