Remove Testprovider support and related references for streamlined provider handling.

This commit is contained in:
luckyPipewrench
2026-01-23 11:52:20 -05:00
parent b8ffe06974
commit 9caee4ec36
7 changed files with 5 additions and 23 deletions

View File

@@ -126,8 +126,7 @@ class Settings::ProvidersController < ApplicationController
config.provider_key.to_s.casecmp("coinstats").zero? || \
config.provider_key.to_s.casecmp("mercury").zero? || \
config.provider_key.to_s.casecmp("coinbase").zero? || \
config.provider_key.to_s.casecmp("snaptrade").zero? || \
config.provider_key.to_s.casecmp("testprovider").zero?
config.provider_key.to_s.casecmp("snaptrade").zero?
end
# Providers page only needs to know whether any SimpleFin/Lunchflow connections exist with valid credentials
@@ -138,6 +137,5 @@ class Settings::ProvidersController < ApplicationController
@mercury_items = Current.family.mercury_items.ordered.select(:id)
@coinbase_items = Current.family.coinbase_items.ordered # Coinbase panel needs name and sync info for status display
@snaptrade_items = Current.family.snaptrade_items.includes(:snaptrade_accounts).ordered
@testprovider_items = Current.family.testprovider_items.ordered.select(:id)
end
end