MCPcopy
hub / github.com/scality/cloudserver / putBucketApiMethods

Function putBucketApiMethods

tests/unit/policies.js:316–320  ·  view source on GitHub ↗
(headers)

Source from the content-addressed store, hash-verified

314
315 describe('CreateBucket', () => {
316 function putBucketApiMethods(headers) {
317 const request = prepareDummyRequest(headers);
318 const result = authBucketPut(null, 'name', null, request, null);
319 return result.map(req => req.apiMethod);
320 }
321
322 it('should return s3:PutBucket without any provided header', () => {
323 assert.deepStrictEqual(

Callers 1

policies.jsFile · 0.85

Calls 2

authBucketPutFunction · 0.85
prepareDummyRequestFunction · 0.70

Tested by

no test coverage detected