Fix: failed unit test
This commit is contained in:
parent
57d2ad9e5f
commit
f3e78ec4ff
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ func TestHandler_Token(t *testing.T) {
|
|||
asserts.NoError(err)
|
||||
policy, err := serializer.DecodeUploadPolicy(credential.Policy)
|
||||
asserts.NoError(err)
|
||||
asserts.Equal("http://test.com/api/v3/callback/remote/123", policy.CallbackURL)
|
||||
asserts.Equal("http://test.cloudreve.org/api/v3/callback/remote/123", policy.CallbackURL)
|
||||
asserts.Equal(uint64(10), policy.MaxSize)
|
||||
asserts.Equal(true, policy.AutoRename)
|
||||
asserts.Equal("dir", policy.SavePath)
|
||||
|
|
Loading…
Add table
Reference in a new issue