You are here

public function S3FileOriginLocatorTest::testGetS3FileSourcePublisherHasRoot in Acquia Content Hub 8.2

@covers ::getS3FileSource @dataProvider sourceDataProvider

File

modules/acquia_contenthub_s3/tests/src/Kernel/S3FileOriginLocatorTest.php, line 70

Class

S3FileOriginLocatorTest
Tests the S3FileOriginLocator.

Namespace

Drupal\Tests\acquia_contenthub_s3\Kernel

Code

public function testGetS3FileSourcePublisherHasRoot(string $bucket, string $root_folder, bool $with_image_style) : void {
  $this
    ->setS3fsConfig($bucket, $root_folder);
  $this
    ->runTestWith('test-bucket', 'test-root', $with_image_style);
}