From 370c6a66f0f8e2c7bd2feabf2d3e6ef9060cc90a Mon Sep 17 00:00:00 2001 From: m7pr Date: Fri, 26 Apr 2024 15:39:10 +0200 Subject: [PATCH] use nes_des_input --- ...test-shinytest2-tm_g_pp_patient_timeline.R | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/testthat/test-shinytest2-tm_g_pp_patient_timeline.R b/tests/testthat/test-shinytest2-tm_g_pp_patient_timeline.R index e6be22e8c9..159099d470 100644 --- a/tests/testthat/test-shinytest2-tm_g_pp_patient_timeline.R +++ b/tests/testthat/test-shinytest2-tm_g_pp_patient_timeline.R @@ -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()