Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gitaly/service/wiki/get_page_versions_test.go')
-rw-r--r--internal/gitaly/service/wiki/get_page_versions_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/gitaly/service/wiki/get_page_versions_test.go b/internal/gitaly/service/wiki/get_page_versions_test.go
index c283a67a7..6b6235974 100644
--- a/internal/gitaly/service/wiki/get_page_versions_test.go
+++ b/internal/gitaly/service/wiki/get_page_versions_test.go
@@ -29,9 +29,9 @@ func testWikiGetPageVersionsRequest(t *testing.T, cfg config.Cfg, rubySrv *rubys
content := bytes.Repeat([]byte("Mock wiki page content"), 10000)
writeWikiPage(t, client, wikiRepo, createWikiPageOpts{title: pageTitle, content: content})
- v1cid := testhelper.MustRunCommand(t, nil, "git", "-C", wikiRepoPath, "log", "-1", "--format=%H")
+ v1cid := gittest.Exec(t, cfg, "-C", wikiRepoPath, "log", "-1", "--format=%H")
updateWikiPage(t, client, wikiRepo, pageTitle, []byte("New content"))
- v2cid := testhelper.MustRunCommand(t, nil, "git", "-C", wikiRepoPath, "log", "-1", "--format=%H")
+ v2cid := gittest.Exec(t, cfg, "-C", wikiRepoPath, "log", "-1", "--format=%H")
gitAuthor := &gitalypb.CommitAuthor{
Name: []byte("Ahmad Sherif"),