From 7f177c4750b4acf70cc3fd3d43c19685179e527b Mon Sep 17 00:00:00 2001 From: amine Date: Thu, 31 Oct 2019 19:05:50 +0100 Subject: repository: add ReadTimestamp methods and improve naming --- repository/mock_repo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'repository/mock_repo.go') diff --git a/repository/mock_repo.go b/repository/mock_repo.go index 356f59d8..bdf36ac2 100644 --- a/repository/mock_repo.go +++ b/repository/mock_repo.go @@ -42,11 +42,11 @@ func NewMockRepoForTest() *mockRepoForTest { } func (r *mockRepoForTest) LocalConfig() Config { - return newRuntimeConfig(r.config) + return newMemConfig(r.config) } func (r *mockRepoForTest) GlobalConfig() Config { - return newRuntimeConfig(r.globalConfig) + return newMemConfig(r.globalConfig) } // GetPath returns the path to the repo. -- cgit