PHP Класс Pantheon\Terminus\UnitTests\Commands\Backup\RestoreCommandTest

Наследование: extends BackupCommandTest
Показать файл Открыть проект

Открытые методы

Метод Описание
testRestoreBackupWithElementFails ( ) Tests the backup:restore command with an element when the backup operation has failed
testRestoreBackupWithElementSucceeds ( ) Tests the backup:restore command with an element when the backup operation succeeds
testRestoreBackupWithFileFails ( ) Tests the backup:restore command with file when the restoration is unsuccessful
testRestoreBackupWithFileSucceeds ( ) Tests the backup:restore command with file when the restoration is successful
testRestoreBackupWithInvalidFile ( ) Tests the backup:restore command with file that doesn't exist

Защищенные методы

Метод Описание
setUp ( )

Описание методов

setUp() защищенный Метод

protected setUp ( )

testRestoreBackupWithElementFails() публичный Метод

Tests the backup:restore command with an element when the backup operation has failed

testRestoreBackupWithElementSucceeds() публичный Метод

Tests the backup:restore command with an element when the backup operation succeeds

testRestoreBackupWithFileFails() публичный Метод

Tests the backup:restore command with file when the restoration is unsuccessful

testRestoreBackupWithFileSucceeds() публичный Метод

Tests the backup:restore command with file when the restoration is successful

testRestoreBackupWithInvalidFile() публичный Метод

Tests the backup:restore command with file that doesn't exist