all: unwrap database.LFSStore interface (#7692)

This commit is contained in:
Joe Chen
2024-03-16 20:32:12 -04:00
committed by GitHub
parent b9e41f28c3
commit 3a5132b6f7
12 changed files with 635 additions and 662 deletions

View File

@@ -8,14 +8,6 @@ import (
"testing"
)
func SetMockLFSStore(t *testing.T, mock LFSStore) {
before := LFS
LFS = mock
t.Cleanup(func() {
LFS = before
})
}
func setMockLoginSourcesStore(t *testing.T, mock LoginSourcesStore) {
before := LoginSources
LoginSources = mock