aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/dump_restore_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/dump_restore_test.go')
-rw-r--r--integrations/dump_restore_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/integrations/dump_restore_test.go b/integrations/dump_restore_test.go
index 3b07bfeeda..3723334ea1 100644
--- a/integrations/dump_restore_test.go
+++ b/integrations/dump_restore_test.go
@@ -178,7 +178,9 @@ func (c *compareDump) assertEquals(repoBefore, repoAfter *repo_model.Repository)
assert.GreaterOrEqual(c.t, len(issues), 1)
for _, issue := range issues {
filename := filepath.Join("comments", fmt.Sprintf("%d.yml", issue.Number))
- comments, ok := c.assertEqual(filename, []base.Comment{}, compareFields{}).([]*base.Comment)
+ comments, ok := c.assertEqual(filename, []base.Comment{}, compareFields{
+ "Index": {ignore: true},
+ }).([]*base.Comment)
assert.True(c.t, ok)
for _, comment := range comments {
assert.EqualValues(c.t, issue.Number, comment.IssueIndex)