You are here

public function ReadOnlyFilesystemTest::providerNoWebRoot in Automatic Updates 8

Data provider for testNoWebRoot().

File

tests/src/Kernel/ReadinessChecker/ReadOnlyFilesystemTest.php, line 48

Class

ReadOnlyFilesystemTest
@coversDefaultClass \Drupal\automatic_updates\ReadinessChecker\ReadOnlyFilesystem

Namespace

Drupal\Tests\automatic_updates\Kernel\ReadinessChecker

Code

public function providerNoWebRoot() {
  return [
    'no core.api.php' => [
      [
        'core' => [
          'core.txt' => 'test',
        ],
      ],
    ],
    'core.api.php in wrong location' => [
      [
        'core.api.php' => 'test',
      ],
    ],
  ];
}