Loading core/tests/Drupal/KernelTests/KernelTestBase.php +3 −1 Original line number Diff line number Diff line Loading @@ -692,7 +692,9 @@ protected function tearDown(): void { if ($this->siteDirectory && !str_starts_with($this->siteDirectory, 'vfs://')) { // Delete test site directory. $callback = function (string $path) { if (!is_link($path)) { @chmod($path, 0700); } }; \Drupal::service('file_system')->deleteRecursive($this->siteDirectory, $callback); } Loading Loading
core/tests/Drupal/KernelTests/KernelTestBase.php +3 −1 Original line number Diff line number Diff line Loading @@ -692,7 +692,9 @@ protected function tearDown(): void { if ($this->siteDirectory && !str_starts_with($this->siteDirectory, 'vfs://')) { // Delete test site directory. $callback = function (string $path) { if (!is_link($path)) { @chmod($path, 0700); } }; \Drupal::service('file_system')->deleteRecursive($this->siteDirectory, $callback); } Loading