From 4b15682e18179ec1d33c685c08c6fb526a7f4343 Mon Sep 17 00:00:00 2001 From: Florian Mayer Date: Fri, 15 Mar 2024 23:04:22 +0800 Subject: [PATCH] Add tests for form_schema(draft=TRUE) --- tests/testthat/test-form_schema.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/testthat/test-form_schema.R b/tests/testthat/test-form_schema.R index 4c217a3f..4d5454db 100644 --- a/tests/testthat/test-form_schema.R +++ b/tests/testthat/test-form_schema.R @@ -21,6 +21,7 @@ test_that("form_schema works with unpublished draft forms", { form_schema( pid = get_test_pid(), fid = "Locations_draft", + draft = TRUE, url = get_test_url(), un = get_test_un(), pw = get_test_pw(), @@ -34,6 +35,7 @@ test_that("form_schema works with unpublished draft forms", { parse = FALSE, pid = get_test_pid(), fid = "Locations_draft", + draft = TRUE, url = get_test_url(), un = get_test_un(), pw = get_test_pw(),