diff options
author | Joe Chen <jc@unknwon.io> | 2022-06-12 10:34:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-12 10:34:12 +0800 |
commit | 2e19f5a3c8193776685a5e9fea9ca8663f14dd8d (patch) | |
tree | b6163f5fa165034028c668f10140fc750ff5e4c3 /internal/route/lfs/batch_test.go | |
parent | 63cb76106afbcbdd6cc01dad8bcb2a4a35b2fa97 (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.go | 2 |
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{ { |