Skip to content

Commit 46d62cc

Browse files
committed
fixing expected layer in tests
1 parent 7021708 commit 46d62cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/testthat/test-mvSSModels.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ test_that("Test brms mv trait non-longitudinal model skew model", {
4242
p <- growthPlot(mod1, ss1$pcvrForm, df = ss1$df)
4343
expect_s3_class(p, "ggplot")
4444
p <- ggplot() + stat_growthss(fit = mod1, ss = ss1)
45-
expect_s3_class(p$layers[[1]]$stat, "StatBrm")
45+
expect_s3_class(p$layers[[1]]$stat, "StatStaticBrm")
4646
})
4747

4848
test_that("Test brms mv trait non-longitudinal model", {
@@ -62,7 +62,7 @@ test_that("Test brms mv trait non-longitudinal model", {
6262
p2 <- growthPlot(mod1, ss1$pcvrForm, df = ss1$df, groups = "a")
6363
expect_s3_class(p2, "ggplot")
6464
p <- ggplot() + stat_growthss(fit = mod1, ss = ss1)
65-
expect_s3_class(p$layers[[1]]$stat, "StatBrm")
65+
expect_s3_class(p$layers[[1]]$stat, "StatStaticBrm")
6666
})
6767

6868
test_that("Test nls mv trait non-longitudinal model", {

0 commit comments

Comments
 (0)