diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/read_bugs_test.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/read_bugs_test.go b/tests/read_bugs_test.go index b28da49b..e5de0cc2 100644 --- a/tests/read_bugs_test.go +++ b/tests/read_bugs_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 } |