[Feed] Remove Time::Now() from Feed unittests.
RefreshThrottlerTest tests broke on the day daylight savings time ended. To fix this, set a TestClock's time to a specific date so the real date will never affect tests going forward. Removed all unittest usage of Time::Now in Feed code. Bug: 901698 Change-Id: I76b0b092aa12b7c4fef65a353caa317a381f32c1 Reviewed-on: https://chromium-review.googlesource.com/c/1324414 Commit-Queue: Sky Malice <skym@chromium.org> Reviewed-by:Yuri Wiitala <miu@chromium.org> Reviewed-by:
Filip Gorski <fgorski@chromium.org> Cr-Commit-Position: refs/heads/master@{#608441}
Showing
Please register or sign in to comment