mirror of
https://github.com/gogs/gogs.git
synced 2025-12-23 16:50:02 +01:00
all: unwrap database.LFSStore interface (#7692)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user