mirror of
https://github.com/we-promise/sure.git
synced 2026-04-20 20:44:08 +00:00
Exclude tax-advantaged account activity from budget & add provider data quality warnings (#724)
* Add tax-advantaged account exclusions and investment data warnings * Address PR review feedback: translations + cache key stability - Add proper translations for provider warnings in 8 locales (de, es, nb, pt-BR, ro, tr, zh-CN, zh-TW) - Fix cache key stability: use SHA256.hexdigest instead of Array#hash (randomized per process) --------- Co-authored-by: luckyPipewrench <luckypipewrench@proton.me>
This commit is contained in:
@@ -65,6 +65,7 @@ class CoinstatsItem::SyncerTest < ActiveSupport::TestCase
|
||||
mock_sync = mock("sync")
|
||||
mock_sync.stubs(:respond_to?).with(:status_text).returns(true)
|
||||
mock_sync.stubs(:respond_to?).with(:sync_stats).returns(true)
|
||||
mock_sync.stubs(:sync_stats).returns({})
|
||||
mock_sync.stubs(:window_start_date).returns(nil)
|
||||
mock_sync.stubs(:window_end_date).returns(nil)
|
||||
mock_sync.expects(:update!).at_least_once
|
||||
@@ -96,6 +97,7 @@ class CoinstatsItem::SyncerTest < ActiveSupport::TestCase
|
||||
mock_sync = mock("sync")
|
||||
mock_sync.stubs(:respond_to?).with(:status_text).returns(true)
|
||||
mock_sync.stubs(:respond_to?).with(:sync_stats).returns(true)
|
||||
mock_sync.stubs(:sync_stats).returns({})
|
||||
mock_sync.stubs(:window_start_date).returns(nil)
|
||||
mock_sync.stubs(:window_end_date).returns(nil)
|
||||
mock_sync.expects(:update!).at_least_once
|
||||
@@ -150,6 +152,7 @@ class CoinstatsItem::SyncerTest < ActiveSupport::TestCase
|
||||
mock_sync = mock("sync")
|
||||
mock_sync.stubs(:respond_to?).with(:status_text).returns(true)
|
||||
mock_sync.stubs(:respond_to?).with(:sync_stats).returns(true)
|
||||
mock_sync.stubs(:sync_stats).returns({})
|
||||
mock_sync.stubs(:window_start_date).returns(nil)
|
||||
mock_sync.stubs(:window_end_date).returns(nil)
|
||||
mock_sync.expects(:update!).at_least_once.with do |args|
|
||||
|
||||
Reference in New Issue
Block a user