storj/satellite/console/consoleweb
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
..
consoleapi satellite/console: Add comments to generated api 2023-03-03 09:29:11 -05:00
consoleql satellite/payments/stripecoinpayments: avoid mock cross-talk in tests 2023-03-03 20:20:48 +02:00
consolewebauth satellite/console,web/satellite: invalidate sessions after inactivity 2022-08-23 15:51:05 +00:00
config.go web/satellite: add pricing plan selection to onboarding tour 2023-02-28 20:49:59 -06:00
endpoints_test.go web/satellite: unauthorized error (401) interception for http requests 2022-12-20 07:14:17 +00:00
server_test.go satellite/console/consoleweb: remove trailing slash from URLs 2023-02-21 19:15:36 +00:00
server.go satellite/console/consoleweb: add pricing package availability endpoint 2023-03-02 23:51:09 +00:00
utils_test.go satellite/console/consoleweb: Trace HTTP endpoints 2022-07-18 13:27:50 +00:00
utils.go all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00