diff --git a/test/api/file/api_test.go b/test/api/file/api_test.go index ec4619308..84a4d0ad5 100644 --- a/test/api/file/api_test.go +++ b/test/api/file/api_test.go @@ -82,7 +82,8 @@ func TestFileTouchPatchGetDelete(t *testing.T) { name, file.Name) } - f, err := os.Open(file.Path) + + f, err := os.Open(tmp) if err != nil { t.Errorf(err.Error()) }