Skip to content

Commit eeabc16

Browse files
committed
test case passs
1 parent ff76348 commit eeabc16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Qiniu/Tests/FormUpTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ protected function setUp()
1818

1919
global $testAuth;
2020
$this->auth = $testAuth;
21-
$this->config = new Config();
21+
$this->cfg = new Config();
2222
}
2323

2424
public function testData()
@@ -42,7 +42,7 @@ public function testFile()
4242
{
4343
$key = 'formPutFile';
4444
$token = $this->auth->uploadToken($this->bucketName, $key);
45-
list($ret, $error) = FormUploader::putFile($token, $key, __file__, $this->config, null, 'text/plain', true);
45+
list($ret, $error) = FormUploader::putFile($token, $key, __file__, $this->cfg, null, 'text/plain', true);
4646
$this->assertNull($error);
4747
$this->assertNotNull($ret['hash']);
4848
}

0 commit comments

Comments
 (0)