Skip to content
Snippets Groups Projects
Commit 9d1d2201 authored by Liam Morland's avatar Liam Morland
Browse files

Issue #3272770: Replace deprecated assertFileNotExists() with assertFileDoesNotExist()

parent 87b109b4
No related branches found
No related tags found
No related merge requests found
...@@ -130,7 +130,7 @@ abstract class FillPdfUploadTestBase extends FillPdfTestBase { ...@@ -130,7 +130,7 @@ abstract class FillPdfUploadTestBase extends FillPdfTestBase {
// Now remove the PDF file again. The temporary file should now be // Now remove the PDF file again. The temporary file should now be
// removed both from the disk and the database. // removed both from the disk and the database.
$this->drupalPostForm(NULL, NULL, self::OP_REMOVE); $this->drupalPostForm(NULL, NULL, self::OP_REMOVE);
$this->assertFileNotExists($new_file->getFileUri()); $this->assertFileDoesNotExist($new_file->getFileUri());
// @todo Simplify once Core bug gets fixed. // @todo Simplify once Core bug gets fixed.
// @see https://www.drupal.org/project/drupal/issues/3043127 // @see https://www.drupal.org/project/drupal/issues/3043127
$this->assertFileEntryNotExists($new_file, NULL); $this->assertFileEntryNotExists($new_file, NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment