function 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.