function FileSystemTest::testChmodUnsuccessful
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/File/FileSystemTest.php \Drupal\Tests\Core\File\FileSystemTest::testChmodUnsuccessful()
- 8.9.x core/tests/Drupal/Tests/Core/File/FileSystemTest.php \Drupal\Tests\Core\File\FileSystemTest::testChmodUnsuccessful()
- 11.x core/tests/Drupal/Tests/Core/File/FileSystemTest.php \Drupal\Tests\Core\File\FileSystemTest::testChmodUnsuccessful()
@covers ::chmod
File
-
core/
tests/ Drupal/ Tests/ Core/ File/ FileSystemTest.php, line 82
Class
- FileSystemTest
- @coversDefaultClass \Drupal\Core\File\FileSystem
Namespace
Drupal\Tests\Core\FileCode
public function testChmodUnsuccessful() : void {
vfsStream::setup('dir');
$this->assertFalse($this->fileSystem
->chmod('vfs://dir/test.txt'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.