tests/testthat/test-get_details.R

# set_apikey()
key <- get_apikey()

gameId <- "104169295283008519"

startingTime <- "2020-06-12 16:28:00"


test_that("get_details works with a starting time",
          expect_silent(get_details(gameId, startingTime = startingTime, save_details = TRUE)))

test_that("get_details works w/o starting time",
          expect_silent(get_details(gameId, save_details = TRUE)))
flsck/rlolesports documentation built on April 4, 2021, 6:59 p.m.