05e165283f
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 |
||
---|---|---|
.. | ||
notifications_test.go | ||
notifications.go | ||
service.go |