public function FlysystemBridgeTest::testDirname in Flysystem 3.0.x
Same name and namespace in other branches
- 8 tests/src/Unit/FlysystemBridgeTest.php \Drupal\Tests\flysystem\Unit\FlysystemBridgeTest::testDirname()
- 3.x tests/src/Unit/FlysystemBridgeTest.php \Drupal\Tests\flysystem\Unit\FlysystemBridgeTest::testDirname()
- 2.0.x tests/src/Unit/FlysystemBridgeTest.php \Drupal\Tests\flysystem\Unit\FlysystemBridgeTest::testDirname()
@covers ::dirname
File
- tests/
src/ Unit/ FlysystemBridgeTest.php, line 101
Class
- FlysystemBridgeTest
- @coversDefaultClass \Drupal\flysystem\FlysystemBridge @group flysystem
Namespace
Drupal\Tests\flysystem\UnitCode
public function testDirname() {
$this
->assertSame('testscheme://', $this->bridge
->dirname());
$this
->assertSame('testscheme://dir://dir', $this->bridge
->dirname('testscheme:///dir://dir/file.txt'));
}