From 001c6f33678ffb51abe043e783ffa19cbc29690f Mon Sep 17 00:00:00 2001 From: Edgar Ruiz Date: Mon, 2 Sep 2024 10:58:20 -0500 Subject: [PATCH] Adds token for DB, thus preventing test from failing in CI --- tests/testthat/test-chattr-use.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-chattr-use.R b/tests/testthat/test-chattr-use.R index b809494..58d380f 100644 --- a/tests/testthat/test-chattr-use.R +++ b/tests/testthat/test-chattr-use.R @@ -13,7 +13,7 @@ test_that("Request submission works", { test_that("Missing token prevents showing the option", { withr::with_envvar( - new = c("OPENAI_API_KEY" = NA), + new = c("OPENAI_API_KEY" = NA, "DATABRICKS_TOKEN" = "test"), { out <- ch_get_ymls(menu = FALSE) expect_null(out$gpt35)