public function S3UrlTest::testGetImageStyleUrl in AmazonS3 7.2
@covers Drupal\amazons3\S3Url::getImageStyleUrl
File
- tests/
S3UrlTest.php, line 59
Class
- S3UrlTest
- Test S3Url.
Namespace
Drupal\amazons3TestCode
public function testGetImageStyleUrl() {
$url = new S3Url('bucket', 'key');
$styleUrl = $url
->getImageStyleUrl('style_name');
$this
->assertEquals($styleUrl
->getKey(), "styles/style_name/key");
}