Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/Qiniu/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ public function uploadToken(
'persistentOps',
'persistentNotifyUrl',
'persistentPipeline',

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

多了空行

'deleteAfterDays',
);

private static $deprecatedPolicyFields = array(
Expand Down
4 changes: 2 additions & 2 deletions tests/Qiniu/Tests/HttpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ public function testGetQiniu()
public function testPost()
{
$response = Client::post('baidu.com', null);
$this->assertEquals($response->statusCode, 405);
$this->assertEquals($response->statusCode, 200);
$this->assertNotNull($response->body);
$this->assertNotNull($response->error);
$this->assertNull($response->error);
}

public function testPostQiniu()
Expand Down