diff --git a/src/server/server_concurrency_test.go b/src/server/server_concurrency_test.go index f122e6a..2bbba96 100644 --- a/src/server/server_concurrency_test.go +++ b/src/server/server_concurrency_test.go @@ -19,7 +19,12 @@ func TestConcurrency(t *testing.T) { "enableAuth": true, "minUserNameLen": 2, "minPwdLen": 4, - "captchaEnabled": false + "captchaEnabled": false, + "uploadSpeedLimit": 409600, + "downloadSpeedLimit": 409600, + "spaceLimit": 1024, + "limiterCapacity": 1000, + "limiterCyc": 1000 }, "server": { "debug": true diff --git a/src/server/server_files_test.go b/src/server/server_files_test.go index c3f23dc..f068506 100644 --- a/src/server/server_files_test.go +++ b/src/server/server_files_test.go @@ -22,7 +22,12 @@ func TestFileHandlers(t *testing.T) { "enableAuth": true, "minUserNameLen": 2, "minPwdLen": 4, - "captchaEnabled": false + "captchaEnabled": false, + "uploadSpeedLimit": 409600, + "downloadSpeedLimit": 409600, + "spaceLimit": 1024, + "limiterCapacity": 1000, + "limiterCyc": 1000 }, "server": { "debug": true diff --git a/src/server/server_users_test.go b/src/server/server_users_test.go index 094f8da..a50c8ab 100644 --- a/src/server/server_users_test.go +++ b/src/server/server_users_test.go @@ -20,7 +20,12 @@ func TestUsersHandlers(t *testing.T) { "enableAuth": true, "minUserNameLen": 2, "minPwdLen": 4, - "captchaEnabled": false + "captchaEnabled": false, + "uploadSpeedLimit": 409600, + "downloadSpeedLimit": 409600, + "spaceLimit": 1024, + "limiterCapacity": 1000, + "limiterCyc": 1000 }, "server": { "debug": true