diff options
author | Ethan Koenig <etk39@cornell.edu> | 2017-03-14 20:52:01 -0400 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-03-15 08:52:01 +0800 |
commit | 021904e4e65804baa67b38e193e15aa37a391c60 (patch) | |
tree | 5c4f74764048eadd39a51c1b27e9c4937a0d236b /models/org_team_test.go | |
parent | ec0ae5d50c59315a3c597b1cf24d4c5508c718e5 (diff) | |
download | gitea-021904e4e65804baa67b38e193e15aa37a391c60.tar.gz gitea-021904e4e65804baa67b38e193e15aa37a391c60.zip |
Fix typos in models/ and modules/ (#1248)
Diffstat (limited to 'models/org_team_test.go')
-rw-r--r-- | models/org_team_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/models/org_team_test.go b/models/org_team_test.go index 506de6e6bd..9afd733d81 100644 --- a/models/org_team_test.go +++ b/models/org_team_test.go @@ -117,15 +117,15 @@ func TestTeam_HasRepository(t *testing.T) { func TestTeam_AddRepository(t *testing.T) { assert.NoError(t, PrepareTestDatabase()) - testSucess := func(teamID, repoID int64) { + testSuccess := func(teamID, repoID int64) { team := AssertExistsAndLoadBean(t, &Team{ID: teamID}).(*Team) repo := AssertExistsAndLoadBean(t, &Repository{ID: repoID}).(*Repository) assert.NoError(t, team.AddRepository(repo)) AssertExistsAndLoadBean(t, &TeamRepo{TeamID: teamID, RepoID: repoID}) CheckConsistencyFor(t, &Team{ID: teamID}, &Repository{ID: repoID}) } - testSucess(2, 3) - testSucess(2, 5) + testSuccess(2, 3) + testSuccess(2, 5) team := AssertExistsAndLoadBean(t, &Team{ID: 1}).(*Team) repo := AssertExistsAndLoadBean(t, &Repository{ID: 1}).(*Repository) |