Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testPutObject (0.09 sec)

  1. cmd/server_test.go

    	object, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	c.Assert(string(object), "hello world")
    }
    
    // TestPutObject -  Tests successful put object request.
    func (s *TestSuiteCommon) TestPutObject(c *check) {
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    	// HTTP request to create the bucket.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
Back to top