mirror of
https://github.com/gogs/gogs.git
synced 2025-12-24 01:00:00 +01:00
db: add tests for authentication through login sources (#7049)
This commit is contained in:
@@ -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{
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user