CLI-1328: Pull command asks for environment twice #2260
mutation.yml
on: pull_request
Mutation Testing
5m 29s
Annotations
1 error and 1 warning
Mutation Testing
Process completed with exit code 1.
|
Mutation Testing:
src/Command/Pull/PullDatabaseCommand.php#L42
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$multipleDbs = $input->hasOption('multiple-dbs') && $input->getOption('multiple-dbs');
// $noImport implies $noScripts.
$noScripts = $noImport || $noScripts;
- $this->setDirAndRequireProjectCwd($input);
+
$sourceEnvironment = $this->determineEnvironment($input, $output, TRUE);
$this->pullDatabase($input, $output, $sourceEnvironment, $onDemand, $noImport, $multipleDbs);
if (!$noScripts) {
|