Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
fixed failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dbolotov committed Mar 31, 2020
1 parent 48bfbd7 commit e4ebaed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/testthat/test_get_events.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ test_that("parse_json = FALSE returns character string", {

test_that("when num_rows is NULL, return all records between two dates", {
skip_on_cran()

result_11 <- get_events(
device_id = loc_device_id,
date_from = "2020-01-26T06:29:00Z", date_to = "2020-01-26T06:29:10Z"
date_from = "2020-02-02T06:29:00Z",
date_to = "2020-02-02T06:29:10Z"
)
expect_equal(NROW(result_11), 2)
})
2 changes: 1 addition & 1 deletion tests/testthat/test_get_measurements.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ test_that("when num_rows is NULL, return all records between two dates", {
skip_on_cran()
result_10 <- get_measurements(
device_id = temp_device_id,
date_from = "2020-01-26T00:00:00Z", date_to = "2020-01-26T00:00:10Z"
date_from = "2020-02-26T00:00:00Z", date_to = "2020-02-26T00:00:10Z"
)
expect_equal(NROW(result_10), 2)
})
Expand Down

0 comments on commit e4ebaed

Please sign in to comment.