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

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

Public Methods

Method Description
testCreateBackup ( ) Tests the backup:create command without any options
testCreateBackupElement ( ) Tests the backup:create command when creating a backup for a specific element
testCreateBackupElementWithKeepFor ( ) Tests the backup:create command when creating a backup for a specific element and a set number of days to keep
testCreateBackupFailure ( ) Tests the backup:create command when the workflow fails
testCreateBackupWithKeepFor ( ) Tests the backup:create command with a set number of days to keep the backup for

Protected Methods

Method Description
setUp ( )

Method Details

setUp() protected method

protected setUp ( )

testCreateBackup() public method

Tests the backup:create command without any options
public testCreateBackup ( )

testCreateBackupElement() public method

Tests the backup:create command when creating a backup for a specific element

testCreateBackupElementWithKeepFor() public method

Tests the backup:create command when creating a backup for a specific element and a set number of days to keep

testCreateBackupFailure() public method

Tests the backup:create command when the workflow fails

testCreateBackupWithKeepFor() public method

Tests the backup:create command with a set number of days to keep the backup for