Skip to content

Commit 2a9e169

Browse files
committed
modify test case
1 parent cd4a257 commit 2a9e169

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Qiniu/Tests/HttpTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ public function testGetQiniu()
2626
public function testPost()
2727
{
2828
$response = Client::post('baidu.com', null);
29-
$this->assertEquals($response->statusCode, 405);
29+
$this->assertEquals($response->statusCode, 200);
3030
$this->assertNotNull($response->body);
31-
$this->assertNotNull($response->error);
31+
$this->assertNull($response->error);
3232
}
3333

3434
public function testPostQiniu()

0 commit comments

Comments
 (0)