public function MinisiteTestBase::assertArchiveFileNotExist in Mini site 8
Assert archive file does not exist.
1 call to MinisiteTestBase::assertArchiveFileNotExist()
- MinisiteTestBase::assertMinisiteRemoved in tests/
src/ Functional/ MinisiteTestBase.php - Assert that a Minisite archive and assets were removed.
File
- tests/
src/ Functional/ MinisiteTestBase.php, line 339
Class
- MinisiteTestBase
- Provides methods specifically for testing Minisite module's field handling.
Namespace
Drupal\Tests\minisite\FunctionalCode
public function assertArchiveFileNotExist(FileInterface $file) {
$this
->assertFileEntryNotExists($file, 'Archive file entry does not');
$this
->assertFileNotExists(Minisite::getCommonArchiveDir() . DIRECTORY_SEPARATOR . $file
->getFilename(), 'Archive file does not exist');
}