🏷️ Round TestTopic timestamp to seconds
This commit is contained in:
parent
078a5cc7b0
commit
5d2e33c513
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue