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

Inheritance: extends BackupCommandTest
Afficher le fichier Open project: pantheon-systems/terminus

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
setUp ( )

Method Details

setUp() protected méthode

protected setUp ( )

testCreateBackup() public méthode

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

testCreateBackupElement() public méthode

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

testCreateBackupElementWithKeepFor() public méthode

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

testCreateBackupFailure() public méthode

Tests the backup:create command when the workflow fails

testCreateBackupWithKeepFor() public méthode

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