aboutsummaryrefslogtreecommitdiffstats
path: root/repository/mock_repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'repository/mock_repo.go')
-rw-r--r--repository/mock_repo.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/repository/mock_repo.go b/repository/mock_repo.go
index 14f5e7b5..2dc4868e 100644
--- a/repository/mock_repo.go
+++ b/repository/mock_repo.go
@@ -59,6 +59,13 @@ func (r *mockRepoForTest) GetCoreEditor() (string, error) {
return "vi", nil
}
+// GetRemotes returns the configured remotes repositories.
+func (r *mockRepoForTest) GetRemotes() (map[string]string, error) {
+ return map[string]string{
+ "origin": "git://github.com/MichaelMure/git-bug",
+ }, nil
+}
+
func (r *mockRepoForTest) StoreConfig(key string, value string) error {
r.config[key] = value
return nil