mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-27 18:11:57 +08:00
Test: s3 policy
This commit is contained in:
@@ -102,6 +102,10 @@ func TestDispatchHandler(t *testing.T) {
|
||||
fs.Policy = &model.Policy{Type: "onedrive"}
|
||||
err = fs.DispatchHandler()
|
||||
asserts.NoError(err)
|
||||
|
||||
fs.Policy = &model.Policy{Type: "s3"}
|
||||
err = fs.DispatchHandler()
|
||||
asserts.NoError(err)
|
||||
}
|
||||
|
||||
func TestNewFileSystemFromCallback(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user