We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44a81c5 commit cafde1aCopy full SHA for cafde1a
tmcrstudioaddin/tests/testthat/testSubmissions.R
@@ -27,8 +27,9 @@ mockProcessingSubmitJson <- function() {
27
}
28
29
test_that("If no metadata file, does not submit", {
30
- submitJson <- submitCurrent(noMetadata)
31
- expect_equal(submitJson$error, "Could not read json")
+ credentials <- list()
+ submitJson <- submit_current(path = noMetadata, credentials = credentials)
32
+ expect_equal(submitJson$error[[1]], "Could not read json")
33
})
34
35
test_that("SubmitCurrent works when no errors", {
0 commit comments