diff options
author | Michael Muré <batolettre@gmail.com> | 2019-06-07 02:53:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-07 02:53:21 +0200 |
commit | d69dcce806d280ddbd6a4fb17700153bc03da90b (patch) | |
tree | da07a7beadc77b3fe5e99f09bd38d919566a0191 /repository/mock_repo.go | |
parent | a9629dbad15f0e80ea244eb81abda4ddc08f7a0e (diff) | |
parent | 1c2ad95960c09d029e6306ac5a5ea76c58e8b5c9 (diff) | |
download | git-bug-d69dcce806d280ddbd6a4fb17700153bc03da90b.tar.gz |
Merge pull request #153 from A-Hilaly/bridge-configuration
[Breaking] Bridge configuration enhancements
Diffstat (limited to 'repository/mock_repo.go')
-rw-r--r-- | repository/mock_repo.go | 7 |
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 |