コード例 #1
0
ファイル: S3Test.php プロジェクト: scalr/scalr
 /**
  * {@inheritdoc}
  * @see Scalr\Tests\Service.AwsTestCase::setUp()
  */
 protected function setUp()
 {
     parent::setUp();
     if (!static::isSkippedFunctionalTest()) {
         $this->s3 = $this->getEnvironment()->aws(AwsTestCase::REGION)->s3;
         $this->s3->enableEntityManager();
     }
 }
コード例 #2
0
ファイル: S3Test.php プロジェクト: rickb838/scalr
 /**
  * {@inheritdoc}
  * @see Scalr\Tests\Service.AwsTestCase::setUp()
  */
 protected function setUp()
 {
     parent::setUp();
     if (!$this->isSkipFunctionalTests()) {
         $this->s3 = $this->getContainer()->aws->s3;
         $this->s3->enableEntityManager();
     }
 }