aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/repo_language_stats_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/repo_language_stats_test.go')
-rw-r--r--modules/git/repo_language_stats_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/repo_language_stats_test.go b/modules/git/repo_language_stats_test.go
index a77266413a..6a4e23f99b 100644
--- a/modules/git/repo_language_stats_test.go
+++ b/modules/git/repo_language_stats_test.go
@@ -16,7 +16,7 @@ import (
func TestRepository_GetLanguageStats(t *testing.T) {
repoPath := filepath.Join(testReposDir, "language_stats_repo")
- gitRepo, err := OpenRepository(repoPath)
+ gitRepo, err := openRepositoryWithDefaultContext(repoPath)
if !assert.NoError(t, err) {
t.Fatal()
}