From 6cede0446041f142fa057226b8bf74beea5432f0 Mon Sep 17 00:00:00 2001 From: Will Landau <1580860+wlandau@users.noreply.github.com> Date: Wed, 21 Aug 2024 13:30:07 -0400 Subject: [PATCH] Update test-staging_is_active.R --- tests/testthat/test-staging_is_active.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testthat/test-staging_is_active.R b/tests/testthat/test-staging_is_active.R index 606c0e7..5ce0ab8 100644 --- a/tests/testthat/test-staging_is_active.R +++ b/tests/testthat/test-staging_is_active.R @@ -1,5 +1,5 @@ test_that("staging_is_active()", { - thresholds <- c("01-15", "04-15", "07-15", "10-15") + start <- c("01-15", "04-15", "07-15", "10-15") active <- c( "2024-01-15", "2024-01-16", @@ -17,7 +17,7 @@ test_that("staging_is_active()", { for (today in active) { expect_true( staging_is_active( - thresholds = thresholds, + start = start, today = today ) ) @@ -35,7 +35,7 @@ test_that("staging_is_active()", { for (today in inactive) { expect_false( staging_is_active( - thresholds = thresholds, + start = start, today = today ) )