Skip to content

Commit

Permalink
Fix the GitHub CI (and other TZ) issues!!! Thank you to @maelle for t…
Browse files Browse the repository at this point in the history
…his.
  • Loading branch information
Adam Sparks committed Jun 13, 2023
1 parent 2e22945 commit b052bf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test_get_dpird_minute.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ test_that("user-input checks stop if invalid values are provided", {
})

test_that("get_dpird_minute() returns minute values", {
withr::local_timezone(tz = "Australia/Perth")
vcr::use_cassette("dpird_minute_values", {
skip_if_offline()
x <- get_dpird_minute(
Expand All @@ -64,8 +65,7 @@ test_that("get_dpird_minute() returns minute values", {
api_key = Sys.getenv("DPIRD_API_KEY"),
which_values = "wind"
)
},
record = "new_episodes"
}
)
expect_s3_class(x, "data.table")
expect_equal(ncol(x), 8)
Expand Down

1 comment on commit b052bf9

@maelle
Copy link
Member

@maelle maelle commented on b052bf9 Jun 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

Please sign in to comment.