aboutsummaryrefslogtreecommitdiffstats
path: root/models/graph_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/graph_test.go')
-rw-r--r--models/graph_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/graph_test.go b/models/graph_test.go
index 5c78e3877b..c1f0bc90d9 100644
--- a/models/graph_test.go
+++ b/models/graph_test.go
@@ -19,7 +19,7 @@ func BenchmarkGetCommitGraph(b *testing.B) {
}
for i := 0; i < b.N; i++ {
- graph, err := GetCommitGraph(currentRepo)
+ graph, err := GetCommitGraph(currentRepo, 1)
if err != nil {
b.Error("Could get commit graph")
}