Skip to content

Commit a3aaf8c

Browse files
committed
Modify test link
修改测试链接
1 parent 5dbcd86 commit a3aaf8c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/Qiniu/Tests/DownloadTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class DownloadTest extends \PHPUnit_Framework_TestCase
88
public function test()
99
{
1010
global $testAuth;
11-
$base_url = 'http://sdk.peterpy.cn/sdktest.png';
11+
$base_url = 'http://sdk.peterpy.cn/gogopher.jpg';
1212
$private_url = $testAuth->privateDownloadUrl($base_url);
1313
$response = Client::get($private_url);
1414
$this->assertEquals(200, $response->statusCode);
@@ -17,7 +17,7 @@ public function test()
1717
public function testFop()
1818
{
1919
global $testAuth;
20-
$base_url = 'http://sdk.peterpy.cn/sdktest.png?exif';
20+
$base_url = 'http://sdk.peterpy.cn/gogopher.jpg?exif';
2121
$private_url = $testAuth->privateDownloadUrl($base_url);
2222
$response = Client::get($private_url);
2323
$this->assertEquals(200, $response->statusCode);

tests/Qiniu/Tests/FopTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class FopTest extends \PHPUnit_Framework_TestCase
99
public function testExifPub()
1010
{
1111
$fop = new Operation('sdk.peterpy.cn');
12-
list($exif, $error) = $fop->execute('sdktest.png', 'exif');
12+
list($exif, $error) = $fop->execute('gogopher.jpg', 'exif');
1313
$this->assertNull($error);
1414
$this->assertNotNull($exif);
1515
}

0 commit comments

Comments
 (0)