Skip to content

Commit

Permalink
updates user test for blank API keys
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewbennink committed Jun 14, 2024
1 parent 9e16508 commit dc63ef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/models/user_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ class UserTest < ActiveSupport::TestCase
stub_features(default_llm_keys: false) do
user = users(:keith)
user.update!(openai_key: '', anthropic_key: ' ')
assert_nil user.openai_key
assert_nil user.anthropic_key
assert_nil user.preferred_openai_key
assert_nil user.preferred_anthropic_key
end
end
end

0 comments on commit dc63ef4

Please sign in to comment.