diff --git a/test/controllers/settings/hostings_controller_test.rb b/test/controllers/settings/hostings_controller_test.rb index 9ad32cc4a..094a6e486 100644 --- a/test/controllers/settings/hostings_controller_test.rb +++ b/test/controllers/settings/hostings_controller_test.rb @@ -76,9 +76,9 @@ class Settings::HostingsControllerTest < ActionDispatch::IntegrationTest test "can update anthropic access token when self hosting is enabled" do with_self_hosting do - patch settings_hosting_url, params: { setting: { anthropic_access_token: "sk-ant-test" } } + patch settings_hosting_url, params: { setting: { anthropic_access_token: "fake-anthropic-key-for-tests" } } - assert_equal "sk-ant-test", Setting.anthropic_access_token + assert_equal "fake-anthropic-key-for-tests", Setting.anthropic_access_token end end