Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulsonar-acquia committed May 25, 2021
1 parent fff6ddd commit d4130c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/Composer/ComposerizeDrupalCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class ComposerizeDrupalCommand extends BaseCommand
protected $drupalRoot;
protected $drupalRootRelative;
protected $drupalCoreVersion;

/** @var Filesystem */
protected $fs;

Expand Down Expand Up @@ -212,7 +211,7 @@ protected function executeComposerUpdate()
$output_callback = function ($type, $buffer) use ($io) {
$io->write($buffer, false);
};
return $executor->execute("composer update --no-interaction", $output_callback, $this->baseDir);
return $executor->execute('composer update --no-interaction', $output_callback, $this->baseDir);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions tests/phpunit/ComposerizeDrupalCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,11 @@ public function testDrupalEndpoint()
];
$options = [ 'interactive' => false ];
$this->commandTester->execute($args, $options);
$process = new Process('composer require drupal/ctools');
$process = new Process('composer require drupal/token:1.1.0');
$process->setTimeout(null);
$process->run();
$this->assertEquals(0, $process->getExitCode());
$this->assertFileExists($this->sandbox . "/docroot/modules/contrib/ctools");
$this->assertFileExists($this->sandbox . "/docroot/modules/contrib/token");
}

/**
Expand Down

0 comments on commit d4130c5

Please sign in to comment.