🏷️ Round TestTopic timestamp to seconds

This commit is contained in:
Maxim Lebedev 2023-12-19 19:50:46 +06:00
parent 078a5cc7b0
commit 5d2e33c513
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ type Topic struct {
func TestTopic(tb testing.TB) *Topic {
tb.Helper()
now := time.Now().UTC().Add(-1 * time.Hour)
now := time.Now().UTC().Add(-1 * time.Hour).Round(time.Second)
return &Topic{
CreatedAt: now,