public function LocalTest::tearDown in Flysystem 2.0.x
Same name and namespace in other branches
- 8 tests/src/Unit/Flysystem/LocalTest.php \Drupal\Tests\flysystem\Unit\Flysystem\LocalTest::tearDown()
- 3.x tests/src/Unit/Flysystem/LocalTest.php \Drupal\Tests\flysystem\Unit\Flysystem\LocalTest::tearDown()
- 3.0.x tests/src/Unit/Flysystem/LocalTest.php \Drupal\Tests\flysystem\Unit\Flysystem\LocalTest::tearDown()
File
- tests/
src/ Unit/ Flysystem/ LocalTest.php, line 45
Class
- LocalTest
- @coversDefaultClass \Drupal\flysystem\Flysystem\Local @group flysystem
Namespace
Drupal\Tests\flysystem\Unit\FlysystemCode
public function tearDown() {
(new LocalAdapter('foo'))
->deleteDir('');
@rmdir('foo');
unlink('test.txt');
@unlink('does_not_exist/.htaccess');
@rmdir('does_not_exist');
}