test(files): add move folder test and clean code
This commit is contained in:
parent
17b4544487
commit
652adba4ad
6 changed files with 74 additions and 80 deletions
|
@ -125,7 +125,7 @@ func TestSpaceLimit(t *testing.T) {
|
|||
res, _, errs := cl.Create(filePath, 1)
|
||||
if len(errs) > 0 {
|
||||
t.Fatal(errs)
|
||||
} else if res.StatusCode != 500 {
|
||||
} else if res.StatusCode != 403 {
|
||||
t.Fatalf("(space limit): this request should be rejected: %d", res.StatusCode)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue