You are here

public function FileSystemDeprecationTest::providerTestUriScheme in Drupal 8

File

core/tests/Drupal/KernelTests/Core/File/FileSystemDeprecationTest.php, line 239

Class

FileSystemDeprecationTest
Tests deprecations in file.inc.

Namespace

Drupal\KernelTests\Core\File

Code

public function providerTestUriScheme() {
  $data = [];
  $data[] = [
    'public://filename',
    'public',
  ];
  $data[] = [
    'public://extra://',
    'public',
  ];
  $data[] = [
    'invalid',
    FALSE,
  ];
  return $data;
}