Skip to content

Commit f4303c2

Browse files
committed
test dont compare Location on timeCompare
1 parent 5fadb7b commit f4303c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integrations/api_issue_reaction_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func TestAPIIssuesReactions(t *testing.T) {
7171
assert.Len(t, apiReactions, 3)
7272
for i, r := range apiReactions {
7373
assert.Equal(t, expectResponse[i].Reaction, r.Reaction)
74-
assert.Equal(t, expectResponse[i].Created, r.Created)
74+
assert.Equal(t, expectResponse[i].Created.Unix(), r.Created.Unix())
7575
assert.Equal(t, expectResponse[i].User.ID, r.User.ID)
7676
}
7777
}
@@ -133,7 +133,7 @@ func TestAPICommentReactions(t *testing.T) {
133133
assert.Len(t, apiReactions, 3)
134134
for i, r := range apiReactions {
135135
assert.Equal(t, expectResponse[i].Reaction, r.Reaction)
136-
assert.Equal(t, expectResponse[i].Created, r.Created)
136+
assert.Equal(t, expectResponse[i].Created.Unix(), r.Created.Unix())
137137
assert.Equal(t, expectResponse[i].User.ID, r.User.ID)
138138
}
139139
}

0 commit comments

Comments
 (0)