Skip to content

Commit

Permalink
Merge branch 'multisite-test-bugfix' of github.com:lcatlett/blt into …
Browse files Browse the repository at this point in the history
…multisite-test-bugfix
  • Loading branch information
lcatlett committed Nov 10, 2018
2 parents ce05a66 + 1fc7965 commit d244eb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Robo/Commands/Generate/MultisiteCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ protected function createNewBltSiteYml(
$site_yml['project']['human_name'] = $site_name;
$site_yml['project']['local']['protocol'] = $url['scheme'];
$site_yml['project']['local']['hostname'] = $url['host'];
$site_yml['drush']['aliases']['local'] = $site_name . ".local";
$site_yml['drush']['aliases']['local'] = "self";
$site_yml['drush']['aliases']['remote'] = $remote_alias;
YamlMunge::mergeArrayIntoFile($site_yml, $site_yml_filename);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/BltProject/MultiSiteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function testMultisiteGenerate() {
$this->assertEquals("$this->site1Dir.clone", $site1_blt_yml['drush']['aliases']['remote']);

$site2_blt_yml = YamlMunge::parseFile("$this->sandboxInstance/docroot/sites/$this->site2Dir/blt.yml");
$this->assertEquals("$this->site2Dir.local", $site2_blt_yml['drush']['aliases']['local']);
$this->assertEquals("self", $site2_blt_yml['drush']['aliases']['local']);
$this->assertEquals("$this->site2Dir.clone", $site2_blt_yml['drush']['aliases']['remote']);

// Clone.
Expand Down

0 comments on commit d244eb6

Please sign in to comment.