Skip to content

Commit

Permalink
default country to THA
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaLRussell committed Oct 17, 2024
1 parent 5366e46 commit 520892d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inst/json/metadata_0.1.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"label": "Country",
"description": "Select a country to set model parameters for country-specific demographic, patterns of social mixing and economic data",
"parameterType": "globeSelect",
"defaultOption": "Thailand",
"defaultOption": "THA",
"ordered": false,
"options": null
},
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-endpoints.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ test_that("Can get metadata", {
}, character(1)),
daedalus_country_names
)
expect_identical(params[[country_idx]]$defaultOption, "Thailand")
expect_identical(params[[country_idx]]$defaultOption, "THA")
hosp_cap_idx <- match("hospital_capacity", expected_parameters)
update_values <- res$data$parameters[[hosp_cap_idx]]$updateNumericFrom$values
expect_named(update_values, daedalus_country_codes)
Expand Down

0 comments on commit 520892d

Please sign in to comment.