Skip to content

Commit

Permalink
Create move DBs no backup tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
earthday47 committed Oct 14, 2020
1 parent 8813600 commit 3300a01
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/Commands/DbCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ public function dbProvider()
> Moving DB (database1) from Stage to Dev
> Backing up DB (database2) on Dev
> Moving DB (database2) from Stage to Dev
TEXT;

$dbCopyNoBackup = <<<TEXT
> Moving DB (database1) from Stage to Dev
> Moving DB (database2) from Stage to Dev
TEXT;

return [
Expand All @@ -59,6 +64,14 @@ public function dbProvider()
[
['database:copy:all', 'devcloud:devcloud2', 'test', 'dev'],
$dbCopy . PHP_EOL
],
[
['database:copy', 'devcloud:devcloud2', 'test', 'dev', 'dbName', '--no-backup'],
$dbCopyNoBackup . PHP_EOL
],
[
['database:copy:all', 'devcloud:devcloud2', 'test', 'dev', '--no-backup'],
$dbCopyNoBackup . PHP_EOL
]
];
}
Expand Down

0 comments on commit 3300a01

Please sign in to comment.