Skip to content

Commit

Permalink
correct option specification. Does ot affect tests as it is setting t…
Browse files Browse the repository at this point in the history
…o the default value anyways.
  • Loading branch information
annakrystalli committed Dec 18, 2024
1 parent 9874ab8 commit 25b01c5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions tests/testthat/test-create_output_type_item.R
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ test_that("schema version option works for create_output_type_mean", {
withr::with_options(
list(
hubAdmin.schema_version = "v3.0.1",
hubAmin.branch = "main"
hubAdmin.branch = "main"
),
{
opt_version <- create_output_type_mean(
Expand Down Expand Up @@ -493,7 +493,7 @@ test_that("schema version option works for create_output_type_quantile", {
withr::with_options(
list(
hubAdmin.schema_version = "v3.0.1",
hubAmin.branch = "main"
hubAdmin.branch = "main"
),
{
opt_version <- create_output_type_quantile(
Expand Down Expand Up @@ -543,7 +543,7 @@ test_that("schema version option works for create_output_type_cdf", {
withr::with_options(
list(
hubAdmin.schema_version = "v3.0.1",
hubAmin.branch = "main"
hubAdmin.branch = "main"
),
{
opt_version <- create_output_type_cdf(
Expand Down Expand Up @@ -590,7 +590,7 @@ test_that("schema version option works for create_output_type_pmf", {
withr::with_options(
list(
hubAdmin.schema_version = "v3.0.1",
hubAmin.branch = "main"
hubAdmin.branch = "main"
),
{
opt_version <- create_output_type_pmf(
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-create_task_id.R
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ test_that("schema version option works for create_task_id", {
withr::with_options(
list(
hubAdmin.schema_version = "v3.0.1",
hubAmin.branch = "main"
hubAdmin.branch = "main"
),
{
opt_version <- create_task_id("horizon",
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-download_tasks_schema.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ test_that("schema version option works for download_tasks_schema", {

withr::with_options(
list(hubAdmin.schema_version = "v3.0.1",
hubAmin.branch = "main"),
hubAdmin.branch = "main"),
{
opt_version <- download_tasks_schema()
}
Expand Down

0 comments on commit 25b01c5

Please sign in to comment.