Loading core/modules/image/tests/src/Functional/ImageAdminStylesTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -292,7 +292,7 @@ public function testStyle() { // Confirm the style directory has been removed. $directory = 'public://styles/' . $style_name; $this->assertDirectoryNotExists($directory); $this->assertDirectoryDoesNotExist($directory); $this->assertNull(ImageStyle::load($style_name), new FormattableMarkup('Image style %style successfully deleted.', ['%style' => $style->label()])); Loading core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -323,7 +323,7 @@ public function doImageStyleUrlAndPathTests($scheme, $clean_url = TRUE, $extra_s // directories in the file system. $directory = $scheme . '://styles/' . $this->style->id() . '/' . $scheme . '/' . $this->randomMachineName(); $this->drupalGet(file_create_url($directory . '/' . $this->randomString())); $this->assertDirectoryNotExists($directory); $this->assertDirectoryDoesNotExist($directory); } } core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -311,7 +311,7 @@ public function testClearDiskCache() { ]; // Check that update directories does not exists. foreach ($directories as $directory) { $this->assertDirectoryNotExists($directory); $this->assertDirectoryDoesNotExist($directory); } // Method must not fail if update directories do not exists. Loading core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ protected function setUpSite() { */ public function testError() { $this->assertSession()->pageTextContains("An automated attempt to create the directory {$this->configDirectory}/sync failed, possibly due to a permissions problem."); $this->assertDirectoryNotExists($this->configDirectory . '/sync'); $this->assertDirectoryDoesNotExist($this->configDirectory . '/sync'); } } core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,7 @@ public function testFileCheckDirectoryHandling() { // A directory to operate on. $default_scheme = 'public'; $directory = $default_scheme . '://' . $this->randomMachineName() . '/' . $this->randomMachineName(); $this->assertDirectoryNotExists($directory); $this->assertDirectoryDoesNotExist($directory); // Non-existent directory. /** @var \Drupal\Core\File\FileSystemInterface $file_system */ Loading Loading
core/modules/image/tests/src/Functional/ImageAdminStylesTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -292,7 +292,7 @@ public function testStyle() { // Confirm the style directory has been removed. $directory = 'public://styles/' . $style_name; $this->assertDirectoryNotExists($directory); $this->assertDirectoryDoesNotExist($directory); $this->assertNull(ImageStyle::load($style_name), new FormattableMarkup('Image style %style successfully deleted.', ['%style' => $style->label()])); Loading
core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -323,7 +323,7 @@ public function doImageStyleUrlAndPathTests($scheme, $clean_url = TRUE, $extra_s // directories in the file system. $directory = $scheme . '://styles/' . $this->style->id() . '/' . $scheme . '/' . $this->randomMachineName(); $this->drupalGet(file_create_url($directory . '/' . $this->randomString())); $this->assertDirectoryNotExists($directory); $this->assertDirectoryDoesNotExist($directory); } }
core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -311,7 +311,7 @@ public function testClearDiskCache() { ]; // Check that update directories does not exists. foreach ($directories as $directory) { $this->assertDirectoryNotExists($directory); $this->assertDirectoryDoesNotExist($directory); } // Method must not fail if update directories do not exists. Loading
core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ protected function setUpSite() { */ public function testError() { $this->assertSession()->pageTextContains("An automated attempt to create the directory {$this->configDirectory}/sync failed, possibly due to a permissions problem."); $this->assertDirectoryNotExists($this->configDirectory . '/sync'); $this->assertDirectoryDoesNotExist($this->configDirectory . '/sync'); } }
core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,7 @@ public function testFileCheckDirectoryHandling() { // A directory to operate on. $default_scheme = 'public'; $directory = $default_scheme . '://' . $this->randomMachineName() . '/' . $this->randomMachineName(); $this->assertDirectoryNotExists($directory); $this->assertDirectoryDoesNotExist($directory); // Non-existent directory. /** @var \Drupal\Core\File\FileSystemInterface $file_system */ Loading