You are here

public function AssetTest::dataProviderIsIndex in Mini site 8

Data provider for testIsIndex.

File

tests/src/Functional/AssetTest.php, line 179

Class

AssetTest
Class AssetTest.

Namespace

Drupal\Tests\minisite\Functional

Code

public function dataProviderIsIndex() {
  return [
    [
      'public://minisite/static/24c22dd1-2cf1-47ae-ac8a-23a7ff8b86c5/rootpath/index.html',
      TRUE,
    ],
    [
      'public://minisite/static/24c22dd1-2cf1-47ae-ac8a-23a7ff8b86c5/rootpath/page.html',
      FALSE,
    ],
    [
      'public://minisite/static/24c22dd1-2cf1-47ae-ac8a-23a7ff8b86c5/rootpath/subpath/index.html',
      FALSE,
    ],
    [
      'public://minisite/static/24c22dd1-2cf1-47ae-ac8a-23a7ff8b86c5/rootpath/subpath/page.html',
      FALSE,
    ],
  ];
}