Skip to content

Commit

Permalink
disable test awaiting #283
Browse files Browse the repository at this point in the history
  • Loading branch information
PietrH committed Jun 20, 2023
1 parent f035d96 commit af94b67
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/testthat/test-get_acoustic_detections.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ test_that("get_acoustic_detections() returns a tibble", {
expect_s3_class(df_sql, "tbl")
})

test_that("get_acoustic_detections() returns unique detection_id", {
df <- get_acoustic_detections(limit = TRUE)
expect_equal(nrow(df), nrow(df %>% distinct(detection_id)))
})
# TODO check #283 and re-enable test if neccesairy.
# test_that("get_acoustic_detections() returns unique detection_id", {
# df <- get_acoustic_detections(limit = TRUE)
# expect_equal(nrow(df), nrow(df %>% distinct(detection_id)))
# })

test_that("get_acoustic_detections() returns the expected columns", {
df <- get_acoustic_detections(limit = TRUE)
Expand Down

0 comments on commit af94b67

Please sign in to comment.