storj/satellite/payments
Egon Elbre 63fa386b0a satellite/payments/stripecoinpayments: avoid mock cross-talk in tests
The tests were using global variables for keeping the mock state, which
was indexed by the satellite ID. However, the satellite ID-s are
deterministic and it's possible for two tests end up using the same
mocks.

Instead make the mock creation not depend on the satellite ID and
instead require it being configured via paymentsconfig.

This fixes TestAutoFreezeChore failure.

Change-Id: I531d3550a934fbb36cff2973be96fd43b7edc44a
2023-03-03 20:20:48 +02:00
..
accountfreeze satellite/{db,analytics,payments}: add chore for auto account freeze 2023-03-01 09:31:27 +00:00
billing satellite/payments/storjscan: return 404 when there is no wallet 2023-01-23 18:07:33 +00:00
coinpayments satellite: remove unused coinpayments code and chores 2022-11-30 16:24:48 +00:00
paymentsconfig satellite/payments/stripecoinpayments: avoid mock cross-talk in tests 2023-03-03 20:20:48 +02:00
storjscan satellite/payments/storjscan: add info level log statement when a user successfully claims a wallet address. 2022-09-29 18:20:06 +00:00
stripecoinpayments satellite/payments/stripecoinpayments: avoid mock cross-talk in tests 2023-03-03 20:20:48 +02:00
account.go satellite/payments/stripecoinpayments: undo price override removal 2023-02-24 16:54:51 +00:00
balance.go satellite/{web/payments}: show token balance on billing overview 2022-12-08 11:47:37 +00:00
charges.go satellite/console: add credit card charges to billing history 2020-01-03 17:34:59 +02:00
coupons.go satellite/console: ApplyCoupon and ApplyFreeTierCoupon 2023-02-16 10:00:20 -05:00
creditcards.go satellite/console: return card from AddCreditCard 2023-02-21 20:48:15 +00:00
credits.go all: switch to storj.io/common/uuid 2020-03-31 19:16:41 +03:00
invoices.go satellite/{db,analytics,payments}: add chore for auto account freeze 2023-03-01 09:31:27 +00:00
projectcharges.go satellite/payments/stripecoinpayments: implement invoice price override 2023-01-17 14:32:10 +00:00
tokens.go satellite/payments: remove Deposit from Tokens interface 2022-10-17 13:32:06 +02:00