mirror of
https://github.com/cloudreve/cloudreve.git
synced 2025-11-02 03:17:56 +08:00
Feat: mount storage policy for folders in WebDAV
This commit is contained in:
@ -166,7 +166,7 @@ func TestUser_GetPolicyID(t *testing.T) {
|
||||
for key, testCase := range testCases {
|
||||
newUser.OptionsSerialized.PreferredPolicy = testCase.preferred
|
||||
newUser.Group.PolicyList = testCase.available
|
||||
asserts.Equal(testCase.expected, newUser.GetPolicyID(), "测试用例 #%d 未通过", key)
|
||||
asserts.Equal(testCase.expected, newUser.GetPolicyID(0), "测试用例 #%d 未通过", key)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user