public function ExtensionStreamTest::providerInvalidUris in System stream wrapper 8
Provides test cases for testInvalidStreamUri()
Return value
array[] A list of urls to test.
File
- tests/
src/ Kernel/ File/ ExtensionStreamTest.php, line 84
Class
- ExtensionStreamTest
- Tests system stream wrapper functions.
Namespace
Drupal\Tests\system_stream_wrapper\Kernel\FileCode
public function providerInvalidUris() {
return [
[
'invalid/uri',
],
[
'invalid_uri',
],
[
'module/invalid/uri',
],
[
'module/invalid_uri',
],
[
'module:invalid_uri',
],
[
'module::/invalid/uri',
],
[
'module::/invalid_uri',
],
[
'module//:invalid/uri',
],
[
'module//invalid_uri',
],
[
'module//invalid/uri',
],
];
}