mirror of
https://github.com/cloudreve/cloudreve.git
synced 2025-10-30 08:07:01 +08:00
Fix: test error / missing AfterFind hook in user model
This commit is contained in:
@ -47,6 +47,9 @@ func TestGetUserByID(t *testing.T) {
|
||||
Model: gorm.Model{
|
||||
ID: 1,
|
||||
},
|
||||
OptionsSerialized: PolicyOption{
|
||||
FileType: []string{},
|
||||
},
|
||||
Name: "默认上传策略",
|
||||
},
|
||||
}, user)
|
||||
|
||||
Reference in New Issue
Block a user