You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
559 B
20 lines
559 B
<?php
|
|
namespace OSS\Tests;
|
|
|
|
use OSS\Core\OssException;
|
|
|
|
require_once __DIR__ . DIRECTORY_SEPARATOR . 'TestOssClientBase.php';
|
|
|
|
class OssClientBucketInfoTest extends TestOssClientBase
|
|
{
|
|
public function testBucketInfo()
|
|
{
|
|
try {
|
|
$info = $this->ossClient->getBucketInfo($this->bucket);
|
|
$this->assertEquals($this->bucket, $info->getName());
|
|
$this->assertEquals("Standard", $info->getStorageClass());
|
|
} catch (OssException $e) {
|
|
$this->assertTrue(false);
|
|
}
|
|
}
|
|
}
|
|
|