tests/testthat/test-fg_connection.R

context("test-fg_connection")

test_that("Error when base_url is empty", {
    expect_error(FGConnection$new("", "PAT", "EMAIL"))
})

test_that("Error when EMAIL is empty", {
  expect_error(FGConnection$new("URL", "PAT", ""))
})
FASTGenomics/r_client documentation built on June 25, 2019, 12:12 a.m.