summaryrefslogtreecommitdiffstats
path: root/models/action_test.go
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2018-03-03 13:21:16 +0800
committerGitHub <noreply@github.com>2018-03-03 13:21:16 +0800
commit78b54b49fa110ed3350c1fa4c46c9ba7cf7ab68c (patch)
treefc5f656e1f2ba9999da9dc545e666251f92d7544 /models/action_test.go
parent990709da8fa64d51d8005146da1728f960444abd (diff)
downloadgitea-78b54b49fa110ed3350c1fa4c46c9ba7cf7ab68c.tar.gz
gitea-78b54b49fa110ed3350c1fa4c46c9ba7cf7ab68c.zip
fix: Add feed for organization (#3594)
* feat: Add feed for organization * fix: testing * fix: testing * fix: testing * fix: testing
Diffstat (limited to 'models/action_test.go')
-rw-r--r--models/action_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/action_test.go b/models/action_test.go
index e0a3e21237..d0e0a5d8fa 100644
--- a/models/action_test.go
+++ b/models/action_test.go
@@ -339,6 +339,7 @@ func TestCommitRepoAction(t *testing.T) {
s.action.ActUserID = user.ID
s.action.RepoID = repo.ID
+ s.action.Repo = repo
s.action.IsPrivate = repo.IsPrivate
testCorrectRepoAction(t, s.commitRepoActionOptions, &s.action)