aboutsummaryrefslogtreecommitdiff
path: root/internal/route/lfs/batch_test.go
diff options
context:
space:
mode:
authorJoe Chen <jc@unknwon.io>2022-06-12 10:34:12 +0800
committerGitHub <noreply@github.com>2022-06-12 10:34:12 +0800
commit2e19f5a3c8193776685a5e9fea9ca8663f14dd8d (patch)
treeb6163f5fa165034028c668f10140fc750ff5e4c3 /internal/route/lfs/batch_test.go
parent63cb76106afbcbdd6cc01dad8bcb2a4a35b2fa97 (diff)
db: add tests for authentication through login sources (#7049)
Diffstat (limited to 'internal/route/lfs/batch_test.go')
-rw-r--r--internal/route/lfs/batch_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/lfs/batch_test.go b/internal/route/lfs/batch_test.go
index 76c0a817..226e637b 100644
--- a/internal/route/lfs/batch_test.go
+++ b/internal/route/lfs/batch_test.go
@@ -83,7 +83,7 @@ func Test_serveBatch(t *testing.T) {
{"oid": "5cac0a318669fadfee734fb340a5f5b70b428ac57a9f4b109cb6e150b2ba7e57", "size": 456}
]}`,
mockLFSStore: func() db.LFSStore {
- mock := db.NewMockLFSStore()
+ mock := NewMockLFSStore()
mock.GetObjectsByOIDsFunc.SetDefaultReturn(
[]*db.LFSObject{
{