Browse Source

Change test case

Ben Hsieh 7 years ago
parent
commit
cd7958063a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      test/test-0.9.6.js

+ 1
- 1
test/test-0.9.6.js View File

@@ -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) => {