From 8d38734142a03fd19d234926cfaf5c2d00514b2a Mon Sep 17 00:00:00 2001 From: Edgar Ruiz Date: Mon, 2 Sep 2024 11:06:12 -0500 Subject: [PATCH] Adds DB Host env var --- tests/testthat/test-chattr-use.R | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/testthat/test-chattr-use.R b/tests/testthat/test-chattr-use.R index 58d380f..5ecbc8b 100644 --- a/tests/testthat/test-chattr-use.R +++ b/tests/testthat/test-chattr-use.R @@ -13,7 +13,11 @@ test_that("Request submission works", { test_that("Missing token prevents showing the option", { withr::with_envvar( - new = c("OPENAI_API_KEY" = NA, "DATABRICKS_TOKEN" = "test"), + new = c( + "OPENAI_API_KEY" = NA, + "DATABRICKS_TOKEN" = "test", + "DATABRICKS_HOST" = "test" + ), { out <- ch_get_ymls(menu = FALSE) expect_null(out$gpt35)