Skip to content

Commit

Permalink
test(app): remove obsolete test
Browse files Browse the repository at this point in the history
  • Loading branch information
milanmlft committed Nov 18, 2024
1 parent a595f8c commit 3f592db
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions app/tests/testthat/test-mod_datatable.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,6 @@ test_that("Selected rows are updated when updating `bundle_concepts`", {
)
})

test_that("Low frequencies are replaced in the concepts table", {
testServer(
mod_datatable_server,
args = list(
selected_dates = reactive_dates,
bundle_concepts = reactiveVal()
),
{
replacement <- as.double(Sys.getenv("LOW_FREQUENCY_REPLACEMENT"))

expect_true(all(concepts_with_counts()$total_records >= replacement))
expect_true(all(concepts_with_counts()$mean_persons >= replacement))
}
)
})

test_that("module ui works", {
ui <- mod_datatable_ui(id = "test")
golem::expect_shinytaglist(ui)
Expand Down

0 comments on commit 3f592db

Please sign in to comment.