@@ -24,7 +24,7 @@ protected function setUp()
24
24
public function testData ()
25
25
{
26
26
$ token = $ this ->auth ->uploadToken ($ this ->bucketName );
27
- list ($ ret , $ error ) = FormUploader::put ($ token , 'formput ' , 'hello world ' , $ this ->cfg , null , 'text/plain ' , null );
27
+ list ($ ret , $ error ) = FormUploader::put ($ token , 'formput ' , 'hello world ' , $ this ->cfg , null , 'text/plain ' , null , false );
28
28
$ this ->assertNull ($ error );
29
29
$ this ->assertNotNull ($ ret ['hash ' ]);
30
30
}
@@ -33,7 +33,7 @@ public function testData2()
33
33
{
34
34
$ upManager = new UploadManager ();
35
35
$ token = $ this ->auth ->uploadToken ($ this ->bucketName );
36
- list ($ ret , $ error ) = $ upManager ->put ($ token , 'formput ' , 'hello world ' , null , 'text/plain ' , null );
36
+ list ($ ret , $ error ) = $ upManager ->put ($ token , 'formput ' , 'hello world ' , null , 'text/plain ' , null , false );
37
37
$ this ->assertNull ($ error );
38
38
$ this ->assertNotNull ($ ret ['hash ' ]);
39
39
}
@@ -42,7 +42,7 @@ public function testFile()
42
42
{
43
43
$ key = 'formPutFile ' ;
44
44
$ token = $ this ->auth ->uploadToken ($ this ->bucketName , $ key );
45
- list ($ ret , $ error ) = FormUploader::putFile ($ token , $ key , __file__, $ this ->cfg , null , 'text/plain ' , null );
45
+ list ($ ret , $ error ) = FormUploader::putFile ($ token , $ key , __file__, $ this ->cfg , null , 'text/plain ' , null , false );
46
46
$ this ->assertNull ($ error );
47
47
$ this ->assertNotNull ($ ret ['hash ' ]);
48
48
}
@@ -52,7 +52,7 @@ public function testFile2()
52
52
$ key = 'formPutFile ' ;
53
53
$ token = $ this ->auth ->uploadToken ($ this ->bucketName , $ key );
54
54
$ upManager = new UploadManager ();
55
- list ($ ret , $ error ) = $ upManager ->putFile ($ token , $ key , __file__, null , 'text/plain ' , null );
55
+ list ($ ret , $ error ) = $ upManager ->putFile ($ token , $ key , __file__, null , 'text/plain ' , null , false );
56
56
$ this ->assertNull ($ error );
57
57
$ this ->assertNotNull ($ ret ['hash ' ]);
58
58
}
0 commit comments