summaryrefslogtreecommitdiffstats
path: root/models/issue_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issue_test.go')
-rw-r--r--models/issue_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/issue_test.go b/models/issue_test.go
index d726a24344..8894d80201 100644
--- a/models/issue_test.go
+++ b/models/issue_test.go
@@ -357,6 +357,7 @@ func testInsertIssue(t *testing.T, title, content string, expectIndex int64) *Is
issue := Issue{
RepoID: repo.ID,
PosterID: user.ID,
+ Poster: user,
Title: title,
Content: content,
}