diff options
Diffstat (limited to 'models/repo_collaboration_test.go')
-rw-r--r-- | models/repo_collaboration_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo_collaboration_test.go b/models/repo_collaboration_test.go index 94c5ab5291..95fb35fe6d 100644 --- a/models/repo_collaboration_test.go +++ b/models/repo_collaboration_test.go @@ -17,7 +17,7 @@ func TestRepository_DeleteCollaboration(t *testing.T) { assert.NoError(t, unittest.PrepareTestDatabase()) repo := unittest.AssertExistsAndLoadBean(t, &repo_model.Repository{ID: 4}) - assert.NoError(t, repo.GetOwner(db.DefaultContext)) + assert.NoError(t, repo.LoadOwner(db.DefaultContext)) assert.NoError(t, DeleteCollaboration(repo, 4)) unittest.AssertNotExistsBean(t, &repo_model.Collaboration{RepoID: repo.ID, UserID: 4}) |