You are here

public function S3fsUrlGenerationTest::testGetExternalUrlRoot 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::testGetExternalUrlRoot()

Test getExternalUrl (root).

File

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

Class

S3fsUrlGenerationTest
S3 File System Tests.

Namespace

Drupal\Tests\s3fs\Functional

Code

public function testGetExternalUrlRoot() {

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