diff --git a/tests/testthat/test-mtscr_model.R b/tests/testthat/test-mtscr_model.R index 98d443a..1a48eb0 100644 --- a/tests/testthat/test-mtscr_model.R +++ b/tests/testthat/test-mtscr_model.R @@ -9,7 +9,7 @@ test_that("mtscr_model() works as expected", { # Test that the function returns the expected number of fixed and random effects expect_equal(length(glmmTMB::fixef(model)), 3) - expect_equal(length(glmmTMB::ranef(model)), 2) + expect_equal(length(glmmTMB::ranef(model)), 3) }) # Test that `prepared` argument works as expected