Skip to content

Commit

Permalink
OPENEUROPA-2155: Fixes after review.
Browse files Browse the repository at this point in the history
  • Loading branch information
D Vargas authored and ademarco committed Jan 27, 2020
1 parent 17ee974 commit b300573
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions src/Commands/AbstractDrupalCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@ public function getDrupal()
return $this->getConfig()->get('drupal.core') === 7 ? new Drupal7Commands() : new Drupal8Commands();
}

/**
* @return int
*/
public function getDrupalVersion()
{
return $this->getConfig()->get('drupal.core');
}

/**
* {@inheritdoc}
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/CommandsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ function $fct() {}
*/
public function testSettingsSetupParameters(array $configs, array $expected)
{
$sites_subdir = isset($config['drupal']['site']['sites_subdir']) ? $config['drupal']['site']['sites_subdir'] : 'default';
$sites_subdir = isset($configs['drupal']['site']['sites_subdir']) ? $configs['drupal']['site']['sites_subdir'] : 'default';
mkdir($this->getSandboxRoot() . '/build/sites/' . $sites_subdir . '/', 0777, true);
file_put_contents($this->getSandboxRoot() . '/build/sites/' . $sites_subdir . '/default.settings.php', '');
file_put_contents($this->getSandboxRoot() . '/build/sites/example.settings.local.php', '// Local development override configuration.');
Expand Down

0 comments on commit b300573

Please sign in to comment.