Skip to content

Commit 814a0f6

Browse files
author
Anna Bukatar
committed
ACP2E-1701: Error when flushing JavaScript/CSS cache
1 parent 04ce5e7 commit 814a0f6

File tree

1 file changed

+12
-0
lines changed
  • dev/tests/integration/testsuite/Magento/Framework/Filesystem/Driver

1 file changed

+12
-0
lines changed

dev/tests/integration/testsuite/Magento/Framework/Filesystem/Driver/FileTest.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,18 @@ public function testFilePutWithoutContents(): void
174174
$this->assertEquals(0, $this->driver->filePutContents($path, ''));
175175
}
176176

177+
/**
178+
* Delete a not existing file
179+
*
180+
* @return void
181+
* @throws FileSystemException
182+
*/
183+
public function testDeleteFileEdge(): void
184+
{
185+
$path = $this->absolutePath . 'foo/file_four.txt';
186+
$this->assertEquals(true, $this->driver->deleteFile($path));
187+
}
188+
177189
/**
178190
* Remove generated directories.
179191
*

0 commit comments

Comments
 (0)