diff --git a/tests/testthat/test-shinytest2-tm_variable_browser.R b/tests/testthat/test-shinytest2-tm_variable_browser.R index 854f1352d..abf5680f8 100644 --- a/tests/testthat/test-shinytest2-tm_variable_browser.R +++ b/tests/testthat/test-shinytest2-tm_variable_browser.R @@ -10,18 +10,18 @@ app_driver_tm_variable_browser <- function() { CO2 <- CO2 # nolint: object_name. } ) - teal.data::datanames(data) <- c("iris", "mtcars", "women", "faithful", "CO2") init_teal_app_driver( data = data, modules = tm_variable_browser( label = "Variable browser (e2e)", + datasets_selected = c("iris", "mtcars", "women", "faithful", "CO2"), parent_dataname = "CO2", ggplot2_args = teal.widgets::ggplot2_args( labs = list(subtitle = "Plot generated by Variable Browser Module") ), pre_output = shiny::tags$div("A pre-output message for tm_variable_browser"), - post_output = shiny::tags$div("A post-output message for tm_variable_browser"), + post_output = shiny::tags$div("A post-output message for tm_variable_browser") ) ) }