public function ModuleFunctionsTest::testFlysystemFileDownloadIgnoresInvalidScheme in Flysystem 3.0.x
Same name and namespace in other branches
- 8 tests/src/Unit/ModuleFunctionsTest.php \Drupal\Tests\flysystem\Unit\ModuleFunctionsTest::testFlysystemFileDownloadIgnoresInvalidScheme()
- 3.x tests/src/Unit/ModuleFunctionsTest.php \Drupal\Tests\flysystem\Unit\ModuleFunctionsTest::testFlysystemFileDownloadIgnoresInvalidScheme()
- 2.0.x tests/src/Unit/ModuleFunctionsTest.php \Drupal\Tests\flysystem\Unit\ModuleFunctionsTest::testFlysystemFileDownloadIgnoresInvalidScheme()
Tests flysystem_file_download() ignores invalid schemes.
File
- tests/
src/ Unit/ ModuleFunctionsTest.php, line 88
Class
- ModuleFunctionsTest
- Tests module functions.
Namespace
Drupal\Tests\flysystem\UnitCode
public function testFlysystemFileDownloadIgnoresInvalidScheme() {
$this
->assertNull(flysystem_file_download('invalid://module_file/file.txt'));
}