mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-27 18:11:57 +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