Skip to content

Commit 789d339

Browse files
VangelisPFlorentTorregrosa
authored andcommitted
Fix for test unit failing to build older versions of Drupal core
1 parent ae46ab9 commit 789d339

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/DrupalL10nCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protected function configure() {
3030
/**
3131
* {@inheritdoc}
3232
*/
33-
protected function execute(InputInterface $input, OutputInterface $output) {
33+
protected function execute(InputInterface $input, OutputInterface $output): int {
3434
$handler = new Handler($this->getComposer(), $this->getIO());
3535
$handler->downloadLocalization(!$input->getOption('no-dev'));
3636
return 0;

tests/PluginTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ protected function composerJsonDefaults() {
236236
'composer/installers' => TRUE,
237237
'drupal-composer/drupal-l10n' => TRUE,
238238
],
239+
'audit' => [
240+
'block-insecure' => FALSE,
241+
],
239242
],
240243
'extra' => [
241244
'drupal-l10n' => [

0 commit comments

Comments
 (0)