function ExtensionStreamTest::testDirnameAsParameter
Same name and namespace in other branches
- 11.x core/tests/Drupal/KernelTests/Core/StreamWrapper/ExtensionStreamTest.php \Drupal\KernelTests\Core\StreamWrapper\ExtensionStreamTest::testDirnameAsParameter()
Tests call of ::dirname() without setting a URI first.
File
-
core/
tests/ Drupal/ KernelTests/ Core/ StreamWrapper/ ExtensionStreamTest.php, line 96
Class
- ExtensionStreamTest
- Tests extension stream wrappers.
Namespace
Drupal\KernelTests\Core\StreamWrapperCode
public function testDirnameAsParameter() : void {
$this->assertSame('module://system', $this->streamWrappers['module']
->dirname('module://system/system.admin.css'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.