-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support wj poc #60
support wj poc #60
Conversation
$options[self::OSS_BUCKET] = $bucket; | ||
$options[self::OSS_METHOD] = self::OSS_HTTP_GET; | ||
$options[self::OSS_OBJECT] = '/'; | ||
$options[self::OSS_SUB_RESOURCE] = 'location'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
location, qos定义成一个宏比较好, 不过现存代码都是这样的,这个后面我来改吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个暂时不用改
$this->assertTrue(false); | ||
} catch (OssException $e) { | ||
$this->assertEquals('InvalidArgument', $e->getErrorCode()); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BucketStorageCapacity对用户有最大限制吗? 如果有应该增加一个case。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
加入了一个限制用户容量的case测试
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed/ok
$this->ossClient->putBucketStorageCapacity($this->bucket, - 2); | ||
$this->assertTrue(false); | ||
} catch (OssException $e) { | ||
$this->assertEquals('InvalidArgument', $e->getErrorCode()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里还要验证http status
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已经加上了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
变更内容