Skip to content

Commit 5381fe6

Browse files
committed
add test
1 parent e7e1709 commit 5381fe6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Qiniu/Storage/UploadManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ final class UploadManager
1515
{
1616
private $config;
1717

18-
public function __construct(Conifg $config = null)
18+
public function __construct(Config $config = null)
1919
{
2020
if ($config === null) {
2121
$config = new Config();

tests/Qiniu/Tests/ResumeUpTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
use Qiniu\Storage\ResumeUploader;
55
use Qiniu\Storage\UploadManager;
6+
use Qiniu\Config;
7+
use Qiniu\Zone;
68

79
class ResumeUpTest extends \PHPUnit_Framework_TestCase
810
{

0 commit comments

Comments
 (0)