Skip to content

Commit 3e3fed1

Browse files
committed
fix tests
1 parent b1cd947 commit 3e3fed1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/migrations/github_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ func TestGitHubDownloadRepo(t *testing.T) {
269269
assert.EqualValues(t, 35, len(comments))
270270
assert.EqualValues(t, []*base.Comment{
271271
{
272+
IssueIndex: 6,
272273
PosterName: "bkcsoft",
273274
Created: time.Date(2016, 11, 02, 18, 59, 48, 0, time.UTC),
274275
Content: `I would prefer a solution that is in the backend, unless it's required to have it update without reloading. Unfortunately I can't seem to find anything that does that :unamused:
@@ -286,6 +287,7 @@ Also this would _require_ caching, since it will fetch huge amounts of data from
286287
},
287288
},
288289
{
290+
IssueIndex: 6,
289291
PosterName: "joubertredrat",
290292
Created: time.Date(2016, 11, 02, 19, 16, 56, 0, time.UTC),
291293
Content: `Yes, this plugin build on front-end, with backend I don't know too, but we can consider make component for this.
@@ -303,6 +305,7 @@ In my case I use ajax to get data, but build on frontend anyway
303305
},
304306
},
305307
{
308+
IssueIndex: 6,
306309
PosterName: "xinity",
307310
Created: time.Date(2016, 11, 03, 13, 04, 56, 0, time.UTC),
308311
Content: `following @bkcsoft retention strategy in cache is a must if we don't want gitea to waste ressources.

0 commit comments

Comments
 (0)