(t *testing.T)
| 79 | } |
| 80 | |
| 81 | func TestUserIndex_GetUpdatedAt(t *testing.T) { |
| 82 | t.Parallel() |
| 83 | |
| 84 | now := time.Now() |
| 85 | idx := &UserIndex{ |
| 86 | UpdatedAt: now.Unix(), |
| 87 | } |
| 88 | |
| 89 | // Test GetUpdatedAt returns the correct time |
| 90 | assert.Equal(t, now.Unix(), idx.GetUpdatedAt().Unix()) |
| 91 | } |
| 92 | |
| 93 | func TestWriteUserIndex_Error(t *testing.T) { |
| 94 | t.Parallel() |
nothing calls this directly
no test coverage detected