aboutsummaryrefslogtreecommitdiffstats
path: root/models/action_test.go
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-11-30 07:52:15 -0800
committerLauris BH <lauris@nix.lv>2017-11-30 17:52:15 +0200
commit91f3d77ceb66bedc7bb4d792306beb547f104dce (patch)
treeb081210cb7b6b26415e0e28ceb3a51477407a97e /models/action_test.go
parent82e8486f13253e5a2b1a06c286b1e2b2b6049473 (diff)
downloadgitea-91f3d77ceb66bedc7bb4d792306beb547f104dce.tar.gz
gitea-91f3d77ceb66bedc7bb4d792306beb547f104dce.zip
Unit tests for wiki routers (#3022)
Diffstat (limited to 'models/action_test.go')
-rw-r--r--models/action_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/action_test.go b/models/action_test.go
index 2bcd22cb22..3f29e1556c 100644
--- a/models/action_test.go
+++ b/models/action_test.go
@@ -297,7 +297,7 @@ func TestCommitRepoAction(t *testing.T) {
}
for _, s := range samples {
- prepareTestEnv(t)
+ PrepareTestEnv(t)
user := AssertExistsAndLoadBean(t, &User{ID: s.userID}).(*User)
repo := AssertExistsAndLoadBean(t, &Repository{ID: s.repositoryID, OwnerID: user.ID}).(*Repository)