fix(server/test): add dbPath to configs
This commit is contained in:
parent
d0c0b80eff
commit
00bbb12843
5 changed files with 26 additions and 11 deletions
|
@ -16,7 +16,7 @@ import (
|
|||
|
||||
func TestUsersHandlers(t *testing.T) {
|
||||
addr := "http://127.0.0.1:8686"
|
||||
rootPath := "testData"
|
||||
rootPath := "tmpTestData"
|
||||
config := `{
|
||||
"users": {
|
||||
"enableAuth": true,
|
||||
|
@ -41,7 +41,10 @@ func TestUsersHandlers(t *testing.T) {
|
|||
"host": "127.0.0.1"
|
||||
},
|
||||
"fs": {
|
||||
"root": "testData"
|
||||
"root": "tmpTestData"
|
||||
},
|
||||
"db": {
|
||||
"dbPath": "tmpTestData/quickshare"
|
||||
}
|
||||
}`
|
||||
adminName := "qs"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue