Skip to content

Commit

Permalink
use nes_des_input
Browse files Browse the repository at this point in the history
  • Loading branch information
m7pr committed Apr 26, 2024
1 parent c4eaed6 commit 370c6a6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/testthat/test-shinytest2-tm_g_pp_patient_timeline.R
Original file line number Diff line number Diff line change
Expand Up @@ -104,43 +104,43 @@ testthat::test_that(
"Patient Timeline"
)
testthat::expect_equal(
app_driver$get_active_module_input("cmdecod-dataset_ADCM_singleextract-select"),
app_driver$get_active_module_input(ns_des_input("cmdecod", "ADCM", "select")),
"CMDECOD"
)
testthat::expect_equal(
app_driver$get_active_module_input("aeterm-dataset_ADAE_singleextract-select"),
app_driver$get_active_module_input(ns_des_input("aeterm", "ADAE", "select")),
"AETERM"
)
testthat::expect_equal(
app_driver$get_active_module_input("aetime_start-dataset_ADAE_singleextract-select"),
app_driver$get_active_module_input(ns_des_input("aetime_start", "ADAE", "select")),
"ASTDTM"
)
testthat::expect_equal(
app_driver$get_active_module_input("aetime_end-dataset_ADAE_singleextract-select"),
app_driver$get_active_module_input(ns_des_input("aetime_end", "ADAE", "select")),
"AENDTM"
)
testthat::expect_equal(
app_driver$get_active_module_input("dstime_start-dataset_ADCM_singleextract-select"),
app_driver$get_active_module_input(ns_des_input("dstime_start", "ADCM", "select")),
"CMASTDTM"
)
testthat::expect_equal(
app_driver$get_active_module_input("dstime_end-dataset_ADCM_singleextract-select"),
app_driver$get_active_module_input(ns_des_input("dstime_end", "ADCM", "select")),
"CMAENDTM"
)
testthat::expect_equal(
app_driver$get_active_module_input("aerelday_start-dataset_ADAE_singleextract-select"),
app_driver$get_active_module_input(ns_des_input("aerelday_start", "ADAE", "select")),
"ASTDY"
)
testthat::expect_equal(
app_driver$get_active_module_input("aerelday_end-dataset_ADAE_singleextract-select"),
app_driver$get_active_module_input(ns_des_input("aerelday_end", "ADAE", "select")),
"AENDY"
)
testthat::expect_equal(
app_driver$get_active_module_input("dsrelday_start-dataset_ADCM_singleextract-select"),
app_driver$get_active_module_input(ns_des_input("dsrelday_start", "ADCM", "select")),
"ASTDY"
)
testthat::expect_equal(
app_driver$get_active_module_input("dsrelday_end-dataset_ADCM_singleextract-select"),
app_driver$get_active_module_input(ns_des_input("dsrelday_end", "ADCM", "select")),
"AENDY"
)
app_driver$stop()
Expand Down

0 comments on commit 370c6a6

Please sign in to comment.