Skip to content

Commit 11d2f21

Browse files
committed
Update CdnManagerTest.php
1 parent 17f62bd commit 11d2f21

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/Qiniu/Tests/CdnManagerTest.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,5 @@ public function testCreateTimestampAntiLeechUrl()
3737

3838
$this->assertEquals($response->statusCode, 200);
3939
$this->assertNull($response->error);
40-
41-
$url2 = $this->imgUrl . '?imageInfo';
42-
$signUrl2 = $this->cdnManager->createTimestampAntiLeechUrl($url2, $this->encryptKey, 3600);
43-
44-
$response = Client::get($signUrl2);
45-
$imgInfo = $response->json();
46-
47-
$this->assertEquals($response->statusCode, 404);
48-
$this->assertNull($response->error);
4940
}
5041
}

0 commit comments

Comments
 (0)