Skip to content

Commit

Permalink
Modify test link
Browse files Browse the repository at this point in the history
修改测试链接
  • Loading branch information
ankadada committed Oct 28, 2019
1 parent 5dbcd86 commit a3aaf8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/Qiniu/Tests/DownloadTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class DownloadTest extends \PHPUnit_Framework_TestCase
public function test()
{
global $testAuth;
$base_url = 'http://sdk.peterpy.cn/sdktest.png';
$base_url = 'http://sdk.peterpy.cn/gogopher.jpg';
$private_url = $testAuth->privateDownloadUrl($base_url);
$response = Client::get($private_url);
$this->assertEquals(200, $response->statusCode);
Expand All @@ -17,7 +17,7 @@ public function test()
public function testFop()
{
global $testAuth;
$base_url = 'http://sdk.peterpy.cn/sdktest.png?exif';
$base_url = 'http://sdk.peterpy.cn/gogopher.jpg?exif';
$private_url = $testAuth->privateDownloadUrl($base_url);
$response = Client::get($private_url);
$this->assertEquals(200, $response->statusCode);
Expand Down
2 changes: 1 addition & 1 deletion tests/Qiniu/Tests/FopTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class FopTest extends \PHPUnit_Framework_TestCase
public function testExifPub()
{
$fop = new Operation('sdk.peterpy.cn');
list($exif, $error) = $fop->execute('sdktest.png', 'exif');
list($exif, $error) = $fop->execute('gogopher.jpg', 'exif');
$this->assertNull($error);
$this->assertNotNull($exif);
}
Expand Down

0 comments on commit a3aaf8c

Please sign in to comment.