diff --git a/tests/testthat/test-cyclopsModels.R b/tests/testthat/test-cyclopsModels.R index 8d2ef806..81e41124 100644 --- a/tests/testthat/test-cyclopsModels.R +++ b/tests/testthat/test-cyclopsModels.R @@ -146,7 +146,7 @@ test_that("set cox regression inputs", { maxIterations <- sample(100, 1) modelSet <- setCoxModel(maxIterations = maxIterations) - expect_equal(attr(model_set$param, "settings")$maxIterations, maxIterations) + expect_equal(attr(modelSet$param, "settings")$maxIterations, maxIterations) })