tests/testthat/test-get_fn_portal_root.R

test_that("get_fn_portal_root return the url for glis fn api", {
  domain <- get_domain()
  expected <- sprintf("%sfn_portal/api/v1", domain)
  expect_equal(get_fn_portal_root(), expected)
})
AdamCottrill/glfishr documentation built on Aug. 9, 2024, 5:47 p.m.