瀏覽代碼

Change test case

Ben Hsieh 8 年之前
父節點
當前提交
cd7958063a
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      test/test-0.9.6.js

+ 1
- 1
test/test-0.9.6.js 查看文件

@@ -114,7 +114,7 @@ describe('support download/upload progress interval and division #140 ', (report
114 114
     .then((res) => {
115 115
       return RNFetchBlob.fetch('POST', 'https://content.dropboxapi.com/2/files/upload', {
116 116
         Authorization : `Bearer ${DROPBOX_TOKEN}`,
117
-        'Dropbox-API-Arg': '{\"path\": \"/rn-upload/intervalTest.png\",\"mode\": \"add\",\"autorename\": true,\"mute\": false}',
117
+        'Dropbox-API-Arg': '{\"path\": \"/rn-upload/intervalTest.txt\",\"mode\": \"add\",\"autorename\": true,\"mute\": false}',
118 118
         'Content-Type' : 'application/octet-stream',
119 119
       }, RNFetchBlob.wrap(res.path()))
120 120
       .uploadProgress({count : 10, interval : -1}, (current, total) => {