summaryrefslogtreecommitdiffstats
path: root/pkg/commands/dummies.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/dummies.go')
-rw-r--r--pkg/commands/dummies.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/commands/dummies.go b/pkg/commands/dummies.go
index 6feb908e3..b1b6e9441 100644
--- a/pkg/commands/dummies.go
+++ b/pkg/commands/dummies.go
@@ -14,11 +14,12 @@ func NewDummyGitCommand() *GitCommand {
// NewDummyGitCommandWithOSCommand creates a new dummy GitCommand for testing
func NewDummyGitCommandWithOSCommand(osCommand *oscommands.OSCommand) *GitCommand {
+ newAppConfig := config.NewDummyAppConfig()
return &GitCommand{
Log: utils.NewDummyLog(),
OSCommand: osCommand,
- Tr: i18n.NewTranslationSet(utils.NewDummyLog()),
- Config: config.NewDummyAppConfig(),
+ Tr: i18n.NewTranslationSet(utils.NewDummyLog(), newAppConfig.GetUserConfig().Gui.Language),
+ Config: newAppConfig,
getGitConfigValue: func(string) (string, error) { return "", nil },
}
}