storj/satellite/payments/paymentsconfig
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
..
config_test.go satellite/payments/stripecoinpayments: forbid replacing partner coupons 2023-02-03 17:15:01 +00:00
config.go satellite/payments/stripecoinpayments: avoid mock cross-talk in tests 2023-03-03 20:20:48 +02:00