Skip to content

Commit

Permalink
tests: fix new order
Browse files Browse the repository at this point in the history
  • Loading branch information
m-muecke committed May 1, 2024
1 parent 6a5d9a3 commit b0c7543
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/testthat/test-api.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ test_that("parse_bb_series works", {
)
nms <- c(
"date", "key", "value", "title", "freq", "category", "unit", "unit_mult",
"last_update", "source", "comment"
"last_update", "comment", "source"
)
expect_s3_class(actual, "data.frame")
expect_named(actual, nms)
Expand Down Expand Up @@ -94,9 +94,9 @@ test_that("bb_series does frequency conversion", {
skip_on_ci()

x <- bb_series("BBEX3.M.DKK.EUR.BB.AC.A01")
expect_true(all(x$frequency == "monthly"))
expect_true(all(x$freq == "monthly"))
x <- bb_series("BBAF3.Q.F41.S121.DE.S1.W0.LE.N._X.B")
expect_true(all(x$frequency == "quarterly"))
expect_true(all(x$freq == "quarterly"))
x <- bb_series("BBBK11.D.TTA000")
expect_true(all(x$frequency == "daily"))
expect_true(all(x$freq == "daily"))
})

0 comments on commit b0c7543

Please sign in to comment.