From 0ad424ae04fe87aa4d8b23ae8a441b2350c9e223 Mon Sep 17 00:00:00 2001 From: rafapereirabr Date: Tue, 16 Jul 2024 13:59:03 -0300 Subject: [PATCH] update test for read_households --- tests/testthat/test_read_households.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test_read_households.R b/tests/testthat/test_read_households.R index 517d7c8..27dc6b2 100644 --- a/tests/testthat/test_read_households.R +++ b/tests/testthat/test_read_households.R @@ -96,7 +96,7 @@ test_that("read_households totals", { # 2000 dfh <- tester(year = 2000) - total_2000_p <- dplyr::summarise(dfh, total = sum(PESO_DOMIC, na.rm=T)) |> dplyr::collect() + total_2000_p <- dplyr::summarise(dfh, total = sum(P001, na.rm=T)) |> dplyr::collect() expect_equal(total_2000_p$total, 45507516)