Definition at line 11 of file FilesystemTest.php.
◆ setUp()
Definition at line 23 of file FilesystemTest.php.
26 $this->filesystem = $this->objectManager->create(\
Magento\Framework\Backup\Filesystem::class);
static getObjectManager()
◆ testRollback()
@magentoAppIsolation enabled
Definition at line 32 of file FilesystemTest.php.
35 .
'/rollback_test_' .
time();
36 $backupsDir =
__DIR__ .
'/_files/var/backups';
41 $this->filesystem->setRootDir(
$rootDir)
42 ->setBackupsDir($backupsDir)
45 ->setBackupExtension(
'tgz');
47 $this->assertTrue($this->filesystem->rollback());
defined('TESTS_BP')||define('TESTS_BP' __DIR__
mkdir($pathname, $mode=0777, $recursive=false, $context=null)
The documentation for this class was generated from the following file:
- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/Backup/FilesystemTest.php