storj/storagenode/storageusage
Egon Elbre 05e165283f storagenode/console/consoleapi: use fixed time.Now()
It seems the tests relied on time.Now(), which might cause some
discrepancies in calculations. Use a fixed time.Now() rather than
recalculating.

As a sidefix, remove "Test" prefix from t.Run. These are unnecessary.

Change-Id: I1de903fcf0fcf46fc8e3acf2463e17239b8e3cc6
2022-07-01 12:36:01 +03:00
..
storageusage_test.go storagenode/console/consoleapi: use fixed time.Now() 2022-07-01 12:36:01 +03:00
storageusage.go all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00