Skip to content

Commit

Permalink
Adds token for DB, thus preventing test from failing in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
edgararuiz committed Sep 2, 2024
1 parent df2c38c commit 001c6f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-chattr-use.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 001c6f3

Please sign in to comment.