aboutsummaryrefslogtreecommitdiffstats
path: root/bug/bug_actions_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/bug_actions_test.go')
-rw-r--r--bug/bug_actions_test.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/bug/bug_actions_test.go b/bug/bug_actions_test.go
index e68132fc..a60e5c68 100644
--- a/bug/bug_actions_test.go
+++ b/bug/bug_actions_test.go
@@ -31,6 +31,13 @@ func createRepo(bare bool) *repository.GitRepo {
log.Fatal(err)
}
+ if err := repo.StoreConfig("user.name", "testuser"); err != nil {
+ log.Fatal("failed to set user.name for test repository: ", err)
+ }
+ if err := repo.StoreConfig("user.email", "testuser@example.com"); err != nil {
+ log.Fatal("failed to set user.email for test repository: ", err)
+ }
+
return repo
}