PHP Class Pantheon\Terminus\UnitTests\Commands\Backup\RestoreCommandTest

Inheritance: extends BackupCommandTest
Show file Open project: pantheon-systems/terminus

Public Methods

Method Description
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

Protected Methods

Method Description
setUp ( )

Method Details

setUp() protected method

protected setUp ( )

testRestoreBackupWithElementFails() public method

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

testRestoreBackupWithElementSucceeds() public method

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

testRestoreBackupWithFileFails() public method

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

testRestoreBackupWithFileSucceeds() public method

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

testRestoreBackupWithInvalidFile() public method

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