We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3b65fe7 + 2a9e169 commit bc9a61eCopy full SHA for bc9a61e
src/Qiniu/Auth.php
@@ -112,6 +112,8 @@ public function uploadToken(
112
'persistentOps',
113
'persistentNotifyUrl',
114
'persistentPipeline',
115
+
116
+ 'deleteAfterDays',
117
);
118
119
private static $deprecatedPolicyFields = array(
tests/Qiniu/Tests/HttpTest.php
@@ -26,9 +26,9 @@ public function testGetQiniu()
26
public function testPost()
27
{
28
$response = Client::post('baidu.com', null);
29
- $this->assertEquals($response->statusCode, 405);
+ $this->assertEquals($response->statusCode, 200);
30
$this->assertNotNull($response->body);
31
- $this->assertNotNull($response->error);
+ $this->assertNull($response->error);
32
}
33
34
public function testPostQiniu()
0 commit comments