63fa386b0a
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 |
||
---|---|---|
.. | ||
consoleapi | ||
consoleql | ||
consolewebauth | ||
config.go | ||
endpoints_test.go | ||
server_test.go | ||
server.go | ||
utils_test.go | ||
utils.go |