aboutsummaryrefslogtreecommitdiffstats
path: root/repository/git_testing.go
diff options
context:
space:
mode:
Diffstat (limited to 'repository/git_testing.go')
-rw-r--r--repository/git_testing.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/repository/git_testing.go b/repository/git_testing.go
index 5f1eaf7c..37a15d93 100644
--- a/repository/git_testing.go
+++ b/repository/git_testing.go
@@ -32,10 +32,10 @@ func CreateTestRepo(bare bool) *GitRepo {
}
config := repo.LocalConfig()
- if err := config.Store("user.name", "testuser"); err != nil {
+ if err := config.StoreString("user.name", "testuser"); err != nil {
log.Fatal("failed to set user.name for test repository: ", err)
}
- if err := config.Store("user.email", "testuser@example.com"); err != nil {
+ if err := config.StoreString("user.email", "testuser@example.com"); err != nil {
log.Fatal("failed to set user.email for test repository: ", err)
}