コード例 #1
0
 /**
  * @depends testPutAndListObjects
  * @depends testSignsPathBucketsCorrectly
  */
 public function no_testCanSendRawHttpRequests()
 {
     $this->client->waitUntil('bucket_exists', array('Bucket' => $this->bucket));
     $this->assertEquals(200, $this->client->get('/')->send()->getStatusCode());
     $this->assertEquals(200, $this->client->put('/' . $this->bucket . '/hello', array(), 'testing')->send()->getStatusCode());
     $this->client->get('/' . self::getResourcePrefix() . '_path')->send();
     $path = self::getResourcePrefix() . '_path/' . self::TEST_KEY;
     $this->client->get("/{$path}")->send();
 }