diff --git a/tests/testthat/test-01-run-model.R b/tests/testthat/test-01-run-model.R index d3640372..f80d0bcc 100644 --- a/tests/testthat/test-01-run-model.R +++ b/tests/testthat/test-01-run-model.R @@ -205,7 +205,7 @@ test_that("exceeding max_iterations raises convergence warning", { expect_length(out$warnings, 3) expect_equal(out$warnings[[1]]$text, - paste0("Naomi subnational data not equal to Spectrum national data. Check table on review inputs tab for: \nnumber_on_art: 2011;2012;2013;2014;2015;2016;2017;2018")) + paste0("Naomi subnational data not equal to Spectrum national data. Check table on review inputs tab for: \nnumber_on_art: 2011;2012;2013;2014;2015;2016;2017;2018;2019;2020;2021;2022;2023")) expect_equal(out$warnings[[3]]$text, paste0("Convergence error: iteration limit reached without convergence (10)")) diff --git a/tests/testthat/test-03-model-fit.R b/tests/testthat/test-03-model-fit.R index cadecde7..3046de77 100644 --- a/tests/testthat/test-03-model-fit.R +++ b/tests/testthat/test-03-model-fit.R @@ -86,7 +86,7 @@ test_that("model fits with different combination of ANC prevalence and ANC ART d demo_survey_hiv_indicators, anc_testing = ancdat1, demo_art_number, - prev_survey_ids = c("DEMO2016PHIA", "DEMO2015DHS"), + prev_survey_ids = "DEMO2016PHIA", artcov_survey_ids = "DEMO2016PHIA", recent_survey_ids = "DEMO2016PHIA", anc_prev_year_t1 = 2016,