Skip to content

Commit 30655c7

Browse files
committed
fill in ? for public endpoints
1 parent 4228e79 commit 30655c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/testthat/test-endpoints.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ test_that("basic_epidata_call", {
3737
fetch_args = fetch_args_list(dry_run = TRUE)
3838
) %>% request_url())
3939
expect_no_error(pub_dengue_nowcast(
40-
locations = "?",
40+
locations = "ca",
4141
epiweeks = epirange(201501, 202001),
4242
fetch_args = fetch_args_list(dry_run = TRUE)
4343
) %>% request_url())
@@ -84,7 +84,7 @@ test_that("basic_epidata_call", {
8484
fetch_args = fetch_args_list(dry_run = TRUE)
8585
) %>% request_url())
8686
expect_no_error(pub_kcdc_ili(
87-
regions = "?",
87+
regions = "ROK",
8888
epiweeks = epirange(201201, 202001),
8989
fetch_args = fetch_args_list(dry_run = TRUE)
9090
) %>% request_url())
@@ -213,7 +213,7 @@ test_that("endpoints fail when given args via dots", {
213213
)
214214
expect_error(
215215
pub_kcdc_ili(
216-
regions = "?",
216+
regions = "ROK",
217217
date_range = epirange(201201, 202001)
218218
),
219219
regexp = dots_error

0 commit comments

Comments
 (0)