You are here

public function S3fsUrlGenerationTest::testGetExternalUrlPublic in S3 File System 4.0.x

Same name and namespace in other branches
  1. 8.3 tests/src/Functional/S3fsUrlGenerationTest.php \Drupal\Tests\s3fs\Functional\S3fsUrlGenerationTest::testGetExternalUrlPublic()

Test getExternalUrl (public).

File

tests/src/Functional/S3fsUrlGenerationTest.php, line 260

Class

S3fsUrlGenerationTest
S3 File System Tests.

Namespace

Drupal\Tests\s3fs\Functional

Code

public function testGetExternalUrlPublic() {

  // Test the external url with the public domain root.
  $this
    ->runDomainRootTests('public', 's3://', '');
  $this
    ->runDomainRootTests('public', 'public://', '');
}